mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
crystal: fix CRYSTAL_PATH
CRYSTAL_PATH should contain `lib` to make crystal able to find required libraries installed in current directory.
This commit is contained in:
parent
86c0844d32
commit
817d0a8c5f
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 .build/crystal $out/bin/crystal
|
install -Dm755 .build/crystal $out/bin/crystal
|
||||||
wrapProgram $out/bin/crystal \
|
wrapProgram $out/bin/crystal \
|
||||||
--suffix CRYSTAL_PATH : $out/lib/crystal \
|
--suffix CRYSTAL_PATH : lib:$out/lib/crystal \
|
||||||
--suffix LIBRARY_PATH : $libPath
|
--suffix LIBRARY_PATH : $libPath
|
||||||
install -dm755 $out/lib/crystal
|
install -dm755 $out/lib/crystal
|
||||||
cp -r src/* $out/lib/crystal/
|
cp -r src/* $out/lib/crystal/
|
||||||
|
Loading…
Reference in New Issue
Block a user