From e1e3a56ddb92e053eb0850a9ae975d345b36d346 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Thu, 6 Jun 2019 14:46:57 +0800 Subject: icr: do not wrap crystal so we can use one from the environment --- pkgs/development/tools/icr/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'pkgs/development') diff --git a/pkgs/development/tools/icr/default.nix b/pkgs/development/tools/icr/default.nix index 668fb2204d601..3a39d0ddf6bd7 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"; -- cgit 1.4.1