about summary refs log tree commit diff
path: root/pkgs/development/interpreters/ruby
diff options
context:
space:
mode:
authorSander van der Burg <svanderburg@gmail.com>2013-06-18 13:05:43 +0200
committerSander van der Burg <svanderburg@gmail.com>2013-06-18 13:05:43 +0200
commit1d4c7f50ec41de4a26efd173b01671e9c67b9256 (patch)
treef57697ac2a008c6066e39e802236f99c8e6d4060 /pkgs/development/interpreters/ruby
parentcd1b531867ac4728c67711daa256d7dff1f83a30 (diff)
downloadnixlib-1d4c7f50ec41de4a26efd173b01671e9c67b9256.tar
nixlib-1d4c7f50ec41de4a26efd173b01671e9c67b9256.tar.gz
nixlib-1d4c7f50ec41de4a26efd173b01671e9c67b9256.tar.bz2
nixlib-1d4c7f50ec41de4a26efd173b01671e9c67b9256.tar.lz
nixlib-1d4c7f50ec41de4a26efd173b01671e9c67b9256.tar.xz
nixlib-1d4c7f50ec41de4a26efd173b01671e9c67b9256.tar.zst
nixlib-1d4c7f50ec41de4a26efd173b01671e9c67b9256.zip
libv8 ruby gem has hardcoded reference to /usr/bin/env, so that it won't build in a chroot -> fix this
Diffstat (limited to 'pkgs/development/interpreters/ruby')
-rw-r--r--pkgs/development/interpreters/ruby/patches.nix1
1 files changed, 1 insertions, 0 deletions
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 ]; };