Unverified Commit 6ea1a2a1 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

nixos/stage-1: build extraUtils without compiler

parent 23ce77d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ let
  # copy what we need.  Instead of using statically linked binaries,
  # we just copy what we need from Glibc and use patchelf to make it
  # work.
  extraUtils = pkgs.runCommandCC "extra-utils"
  extraUtils = pkgs.runCommand "extra-utils"
    { nativeBuildInputs = [pkgs.buildPackages.nukeReferences];
      allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd
    }