2 Commits db9d95c2d7 ... 392690cc83

Auteur SHA1 Message Date
  Jovany Leandro G.C 392690cc83 Merge branch 'master' of https://notabug.org/bit4bit/guix-packages il y a 3 ans
  Jovany Leandro G.C 81adeec5f5 fix(crystal): inputs il y a 3 ans
1 fichiers modifiés avec 6 ajouts et 3 suppressions
  1. 6 3
      bit4bit/crystal.scm

+ 6 - 3
bit4bit/crystal.scm

@@ -30,10 +30,13 @@
     (build-system copy-build-system)
     (inputs
      `(("gcc-toolchain" ,gcc-toolchain)
-       ("gcc-toolchain:static" ,gcc-toolchain "static")
        ("pcre" ,pcre)
-       ("pcre:static" ,pcre "static")
        ("libevent" ,libevent)))
+
+    (propagated-inputs
+     `(("gcc-toolchain:static" ,gcc-toolchain "static")
+       ("pcre:static" ,pcre "static")))
+
     (arguments
      `(#:phases
        (modify-phases %standard-phases
@@ -49,7 +52,7 @@
 					   "/lib")))
 
 	       (wrap-program crystal-bin
-			     `("CRYSTAL_OPTS" ":" = (,(string-append "--link-flags -L" libevent-path "-L" pcre-path)))
+			     `("CRYSTAL_OPTS" ":" = (,(string-append "--link-flags -L" libevent-path " --link-flags -L" pcre-path)))
 			     '("CC" ":" = ("gcc")))
 	     #t))))))
     (synopsis "Crystal is a general-purpose, object-oriented programming language.")