nixpkgs/pkgs/stdenv/nix/default.nix

26 lines
500 B
Nix
Raw Normal View History

{stdenv, pkgs, genericStdenv}:
genericStdenv {
name = "stdenv-nix";
preHook = ./prehook.sh;
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
inherit stdenv;
gcc = import ../../build-support/gcc-wrapper {
nativeTools = false;
nativeGlibc = true;
inherit stdenv;
inherit (pkgs) binutils;
gcc = pkgs.gcc.gcc;
shell = pkgs.bash ~ /bin/sh;
};
shell = pkgs.bash ~ /bin/sh;
extraAttrs = {
# Curl should be in /usr/bin or so.
curl = null;
};
}