guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: fifo-map: Fix build.


From: guix-commits
Subject: 01/02: gnu: fifo-map: Fix build.
Date: Sat, 11 Sep 2021 10:51:25 -0400 (EDT)

glv pushed a commit to branch core-updates-frozen
in repository guix.

commit 73a52906d9b6fec8be812395a8c9c67fac0857f3
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Sep 11 16:33:51 2021 +0200

    gnu: fifo-map: Fix build.
    
    * gnu/packages/cpp.scm (fifo-map)[arguments]: Fix 'install' phase.
---
 gnu/packages/cpp.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 45a02b5..7ac4b0c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
 ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
+;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -368,10 +369,8 @@ functions, class methods, and stl containers.
              (lambda* (#:key outputs #:allow-other-keys)
                (let* ((out (assoc-ref outputs "out"))
                       (inc (string-append out "/include/fifo_map")))
-                 (with-directory-excursion
-                     (string-append "../" ,name "-" ,version "-checkout")
-                   (install-file "src/fifo_map.hpp" inc)
-                   #t)))))))
+                 (with-directory-excursion "../source"
+                   (install-file "src/fifo_map.hpp" inc))))))))
       (synopsis "FIFO-ordered associative container for C++")
       (description "Fifo_map is a C++ header only library for associative
 container which uses the order in which keys were inserted to the container



reply via email to

[Prev in Thread] Current Thread [Next in Thread]