mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
|||
installPhase = ''
|
||||
install -Dm755 .build/crystal $out/bin/crystal
|
||||
wrapProgram $out/bin/crystal \
|
||||
--suffix CRYSTAL_PATH : $out/lib/crystal \
|
||||
--suffix CRYSTAL_PATH : lib:$out/lib/crystal \
|
||||
--suffix LIBRARY_PATH : $libPath
|
||||
install -dm755 $out/lib/crystal
|
||||
cp -r src/* $out/lib/crystal/
|
||||
|
|
Loading…
Reference in a new issue