2 Commits db9d95c2d7 ... 392690cc83

Auteur SHA1 Bericht Datum
  Jovany Leandro G.C 392690cc83 Merge branch 'master' of https://notabug.org/bit4bit/guix-packages 3 jaren geleden
  Jovany Leandro G.C 81adeec5f5 fix(crystal): inputs 3 jaren geleden
1 gewijzigde bestanden met toevoegingen van 6 en 3 verwijderingen
  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.")