summary refs log tree commit diff
path: root/pkgs/os-specific/linux/busybox/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-29 13:34:46 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-10-29 13:43:00 +0100
commit3b2177b7696c23df8d378c175a2db0ab81062106 (patch)
tree2f87f8ba0caf81fb8a0edeb4dff3bcb388d2c0a9 /pkgs/os-specific/linux/busybox/default.nix
parent423e923182d966e2315fdd405f1e0efbd1dcb18a (diff)
downloadnixpkgs-3b2177b7696c23df8d378c175a2db0ab81062106.tar
nixpkgs-3b2177b7696c23df8d378c175a2db0ab81062106.tar.gz
nixpkgs-3b2177b7696c23df8d378c175a2db0ab81062106.tar.bz2
nixpkgs-3b2177b7696c23df8d378c175a2db0ab81062106.tar.lz
nixpkgs-3b2177b7696c23df8d378c175a2db0ab81062106.tar.xz
nixpkgs-3b2177b7696c23df8d378c175a2db0ab81062106.tar.zst
nixpkgs-3b2177b7696c23df8d378c175a2db0ab81062106.zip
busybox: Allow running from within the Nix store
This enables running the busybox program directly from the Nix store
(i.e. as /nix/store/<hash>-busybox). We need this for the stdenv
bootstrap.
Diffstat (limited to 'pkgs/os-specific/linux/busybox/default.nix')
-rw-r--r--pkgs/os-specific/linux/busybox/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/busybox/default.nix b/pkgs/os-specific/linux/busybox/default.nix
index da1d2dc2ed0..6073692c70a 100644
--- a/pkgs/os-specific/linux/busybox/default.nix
+++ b/pkgs/os-specific/linux/busybox/default.nix
@@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
     sha256 = "12v7nri79v8gns3inmz4k24q7pcnwi00hybs0wddfkcy1afh42xf";
   };
 
+  patches = [ ./busybox-in-store.patch ];
+
   configurePhase = ''
     export KCONFIG_NOTIMESTAMP=1
     make ${if enableMinimal then "allnoconfig" else "defconfig"}