mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03: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 = ''
|
||||
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 New Issue
Block a user