2 Commits db9d95c2d7 ... 392690cc83

Author SHA1 Message Date
  Jovany Leandro G.C 392690cc83 Merge branch 'master' of https://notabug.org/bit4bit/guix-packages 2 years ago
  Jovany Leandro G.C 81adeec5f5 fix(crystal): inputs 2 years ago
1 changed files with 6 additions and 3 deletions
  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.")