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
24
25
25
patchShebangs .
26
26
27
27
-
find . -type f -executable -print0 | while IFS= read -r -d ''$'\0' f; do
27
27
+
grep -Fl '#!/usr/bin/env' `find . -type f -executable` | while read f ; do
28
28
substituteInPlace "$f" --replace '#!/usr/bin/env' '#!${coreutils}/bin/env'
29
29
done
30
30
+
grep -Fl '"gsc"' `find . -type f -name '*.s*'` | while read f ; do
31
31
+
substituteInPlace "$f" --replace '"gsc"' '"${gambit}/bin/gsc"'
32
32
+
done
33
33
+
substituteInPlace "etc/gerbil.el" --replace '"gxc"' "\"$out/bin/gxc\""
30
34
31
35
cat > etc/gerbil_static_libraries.sh <<EOF
32
36
#OPENSSL_LIBCRYPTO=${makeStaticLibraries openssl}/lib/libcrypto.a # MISSING!