tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
gerbil: use full path for gsc, gxc
Francois-Rene Rideau
7 years ago
04469284
83a48f7a
+5
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
gerbil
build.nix
+5
-1
pkgs/development/compilers/gerbil/build.nix
···
24
25
patchShebangs .
26
27
-
find . -type f -executable -print0 | while IFS= read -r -d ''$'\0' f; do
28
substituteInPlace "$f" --replace '#!/usr/bin/env' '#!${coreutils}/bin/env'
29
done
0
0
0
0
30
31
cat > etc/gerbil_static_libraries.sh <<EOF
32
#OPENSSL_LIBCRYPTO=${makeStaticLibraries openssl}/lib/libcrypto.a # MISSING!
···
24
25
patchShebangs .
26
27
+
grep -Fl '#!/usr/bin/env' `find . -type f -executable` | while read f ; do
28
substituteInPlace "$f" --replace '#!/usr/bin/env' '#!${coreutils}/bin/env'
29
done
30
+
grep -Fl '"gsc"' `find . -type f -name '*.s*'` | while read f ; do
31
+
substituteInPlace "$f" --replace '"gsc"' '"${gambit}/bin/gsc"'
32
+
done
33
+
substituteInPlace "etc/gerbil.el" --replace '"gxc"' "\"$out/bin/gxc\""
34
35
cat > etc/gerbil_static_libraries.sh <<EOF
36
#OPENSSL_LIBCRYPTO=${makeStaticLibraries openssl}/lib/libcrypto.a # MISSING!