diff options
author | hsloan <ishaqsloan@gmail.com> | 2017-06-28 16:43:18 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-06-28 21:29:07 -0400 |
commit | 14d3ed8c386d8444e59b342617f9ccef343382a2 (patch) | |
tree | 78a1b23f80cb14a4b13087b172bfe73ce5c9f280 /pkgs | |
parent | a291194d2f38a7cf300d29ddd4a928409769a508 (diff) |
sysvinit: Rely on cc-wrapper to export this env var
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/sysvinit/default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/sysvinit/default.nix b/pkgs/os-specific/linux/sysvinit/default.nix index 042e601ec14f..6ec8abdc1760 100644 --- a/pkgs/os-specific/linux/sysvinit/default.nix +++ b/pkgs/os-specific/linux/sysvinit/default.nix @@ -15,11 +15,7 @@ stdenv.mkDerivation { sed -i -e "s,/sbin/,$out/sbin/," src/halt.c src/init.c src/paths.h ''; - makeFlags = "SULOGINLIBS=-lcrypt ROOT=$(out) MANDIR=/share/man"; - - crossAttrs = { - makeFlags = "SULOGINLIBS=-lcrypt ROOT=$(out) MANDIR=/share/man CC=${stdenv.cross.config}-gcc"; - }; + makeFlags = [ "SULOGINLIBS=-lcrypt" "ROOT=$(out)" "MANDIR=/share/man" ]; preInstall = '' |