about summary refs log tree commit diff
path: root/pkgs/stdenv/linux
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2012-12-26 22:20:43 +0100
committerLluís Batlle i Rossell <viric@viric.name>2012-12-26 22:20:43 +0100
commitb190e6cd93616f67e981e4a3c37e2d296553ef89 (patch)
tree994df6158856fe1b5aa1a3b1b322759b33ac1e16 /pkgs/stdenv/linux
parent635880a17aa3efb14869ba80a5785f8663dee6e9 (diff)
downloadnixlib-b190e6cd93616f67e981e4a3c37e2d296553ef89.tar
nixlib-b190e6cd93616f67e981e4a3c37e2d296553ef89.tar.gz
nixlib-b190e6cd93616f67e981e4a3c37e2d296553ef89.tar.bz2
nixlib-b190e6cd93616f67e981e4a3c37e2d296553ef89.tar.lz
nixlib-b190e6cd93616f67e981e4a3c37e2d296553ef89.tar.xz
nixlib-b190e6cd93616f67e981e4a3c37e2d296553ef89.tar.zst
nixlib-b190e6cd93616f67e981e4a3c37e2d296553ef89.zip
Fixing problems in the previous commit. It didn't work.
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r--pkgs/stdenv/linux/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix
index df89b3714f8a..73768e8f40e7 100644
--- a/pkgs/stdenv/linux/default.nix
+++ b/pkgs/stdenv/linux/default.nix
@@ -94,6 +94,7 @@ rec {
       initialPath = [bootstrapTools] ++ extraPath;
       fetchurlBoot = fetchurl;
       inherit gcc;
+      withNixImpure = if platform ? nixImpure then platform.nixImpure else false;
       # Having the proper 'platform' in all the stdenvs allows getting proper
       # linuxHeaders for example.
       extraAttrs = extraAttrs // { inherit platform; };