about summary refs log tree commit diff
path: root/pkgs/development/tools/icr
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2019-06-06 14:46:57 +0800
committerPeter Hoeg <peter@hoeg.com>2019-06-06 14:46:57 +0800
commite1e3a56ddb92e053eb0850a9ae975d345b36d346 (patch)
treea5b6a49d9cd7157ec2d65d9f6f19002f3e32cfa9 /pkgs/development/tools/icr
parentae71c13a92f7e3b7968e8b7b1db9f6238dc00a25 (diff)
downloadnixlib-e1e3a56ddb92e053eb0850a9ae975d345b36d346.tar
nixlib-e1e3a56ddb92e053eb0850a9ae975d345b36d346.tar.gz
nixlib-e1e3a56ddb92e053eb0850a9ae975d345b36d346.tar.bz2
nixlib-e1e3a56ddb92e053eb0850a9ae975d345b36d346.tar.lz
nixlib-e1e3a56ddb92e053eb0850a9ae975d345b36d346.tar.xz
nixlib-e1e3a56ddb92e053eb0850a9ae975d345b36d346.tar.zst
nixlib-e1e3a56ddb92e053eb0850a9ae975d345b36d346.zip
icr: do not wrap crystal so we can use one from the environment
Diffstat (limited to 'pkgs/development/tools/icr')
-rw-r--r--pkgs/development/tools/icr/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/tools/icr/default.nix b/pkgs/development/tools/icr/default.nix
index 668fb2204d60..3a39d0ddf6bd 100644
--- a/pkgs/development/tools/icr/default.nix
+++ b/pkgs/development/tools/icr/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, crystal, shards, which, makeWrapper
+{ stdenv, fetchFromGitHub, crystal, shards, which
 , openssl, readline, libyaml }:
 
 stdenv.mkDerivation rec {
@@ -19,15 +19,11 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ crystal libyaml openssl readline ];
 
-  nativeBuildInputs = [ makeWrapper shards which ];
+  nativeBuildInputs = [ shards which ];
 
   doCheck = true;
   checkTarget = "test";
 
-  postInstall = ''
-    wrapProgram $out/bin/icr --prefix PATH : "${stdenv.lib.makeBinPath [ crystal ]}"
-  '';
-
   meta = with stdenv.lib; {
     description = "Interactive console for the Crystal programming language";
     homepage = "https://github.com/crystal-community/icr";