summary refs log tree commit diff
path: root/pkgs/build-support/substitute/substitute-all.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-09-27 15:28:11 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-09-29 13:06:41 +0200
commit0cb16a6955ff6ef447a81caab02a8389b2d19dd4 (patch)
tree79ba36035f4996690f7f073bd99ad49cfa110abd /pkgs/build-support/substitute/substitute-all.nix
parent518340624d92c7d802b23e73b078010a505b3609 (diff)
downloadnixpkgs-0cb16a6955ff6ef447a81caab02a8389b2d19dd4.tar
nixpkgs-0cb16a6955ff6ef447a81caab02a8389b2d19dd4.tar.gz
nixpkgs-0cb16a6955ff6ef447a81caab02a8389b2d19dd4.tar.bz2
nixpkgs-0cb16a6955ff6ef447a81caab02a8389b2d19dd4.tar.lz
nixpkgs-0cb16a6955ff6ef447a81caab02a8389b2d19dd4.tar.xz
nixpkgs-0cb16a6955ff6ef447a81caab02a8389b2d19dd4.tar.zst
nixpkgs-0cb16a6955ff6ef447a81caab02a8389b2d19dd4.zip
Add stdenvNoCC
This is a standard environment that doesn't contain a C/C++
compiler. This is mostly to prevent trivial builders like runCommand
and substituteAll from pulling in gcc for simple configuration changes
on NixOS.
Diffstat (limited to 'pkgs/build-support/substitute/substitute-all.nix')
-rw-r--r--pkgs/build-support/substitute/substitute-all.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/substitute/substitute-all.nix b/pkgs/build-support/substitute/substitute-all.nix
index 1022b25c4c9..7fd46f95f99 100644
--- a/pkgs/build-support/substitute/substitute-all.nix
+++ b/pkgs/build-support/substitute/substitute-all.nix
@@ -1,9 +1,9 @@
-{ stdenv }:
+{ stdenvNoCC }:
 
 args:
 
 # see the substituteAll in the nixpkgs documentation for usage and constaints
-stdenv.mkDerivation ({
+stdenvNoCC.mkDerivation ({
   name = if args ? name then args.name else baseNameOf (toString args.src);
   builder = ./substitute-all.sh;
   inherit (args) src;