|
@@ -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.")
|