1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-22 21:15:03 -04:00
nixpkgs/pkgs/stdenv/nix/default.nix

26 lines
482 B
Nix
Raw Normal View History

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