From 1d4c7f50ec41de4a26efd173b01671e9c67b9256 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Tue, 18 Jun 2013 13:05:43 +0200 Subject: [PATCH] libv8 ruby gem has hardcoded reference to /usr/bin/env, so that it won't build in a chroot -> fix this --- pkgs/development/interpreters/ruby/patches.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/interpreters/ruby/patches.nix b/pkgs/development/interpreters/ruby/patches.nix index e20cb81883f9..55e62594c847 100644 --- a/pkgs/development/interpreters/ruby/patches.nix +++ b/pkgs/development/interpreters/ruby/patches.nix @@ -40,6 +40,7 @@ in export AR=$(type -p ar) ''; buildInputs = [ python ]; + NIX_POST_EXTRACT_FILES_HOOK = patchUsrBinEnv; }; sqlite3 = { propagatedBuildInputs = [ sqlite ]; };