From 817d0a8c5faa1ce00f29ca2b4b509e88707c51d7 Mon Sep 17 00:00:00 2001 From: mingchuan Date: Wed, 22 Nov 2017 15:21:39 +0800 Subject: [PATCH] crystal: fix CRYSTAL_PATH CRYSTAL_PATH should contain `lib` to make crystal able to find required libraries installed in current directory. --- pkgs/development/compilers/crystal/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/crystal/default.nix b/pkgs/development/compilers/crystal/default.nix index 6b817d06553e..7bb0ed1bf617 100644 --- a/pkgs/development/compilers/crystal/default.nix +++ b/pkgs/development/compilers/crystal/default.nix @@ -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/