mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
crystal: fix build in chroot environment, again
forgot to patch interpreter of the script used by Makefile, carefully ensure it can build without /usr/bin/env this time.
This commit is contained in:
parent
7cd1a58a75
commit
06090a73bb
@ -60,6 +60,9 @@ stdenv.mkDerivation rec {
|
||||
# patch the script which launches the prebuilt compiler
|
||||
substituteInPlace $(pwd)/crystal-${version}-1/bin/crystal --replace \
|
||||
"/usr/bin/env bash" "${stdenv.shell}"
|
||||
substituteInPlace $(pwd)/crystal-${version}/bin/crystal --replace \
|
||||
"/usr/bin/env bash" "${stdenv.shell}"
|
||||
|
||||
${fixPrebuiltBinary}
|
||||
|
||||
cd crystal-${version}
|
||||
|
Loading…
Reference in New Issue
Block a user