diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-04-06 08:20:38 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-04-10 08:10:42 +0000 |
commit | a567476380303fe0ccb0c136ad7e9a475ef53b1a (patch) | |
tree | 4d51e1ac2e3c9090c25baba773d34b0fbb240d33 /host/rootfs/default.nix | |
parent | fdc650659fb7f43ffcb9fbca80998f1d50a190f9 (diff) | |
download | spectrum-a567476380303fe0ccb0c136ad7e9a475ef53b1a.tar spectrum-a567476380303fe0ccb0c136ad7e9a475ef53b1a.tar.gz spectrum-a567476380303fe0ccb0c136ad7e9a475ef53b1a.tar.bz2 spectrum-a567476380303fe0ccb0c136ad7e9a475ef53b1a.tar.lz spectrum-a567476380303fe0ccb0c136ad7e9a475ef53b1a.tar.xz spectrum-a567476380303fe0ccb0c136ad7e9a475ef53b1a.tar.zst spectrum-a567476380303fe0ccb0c136ad7e9a475ef53b1a.zip |
Don't assume /var/empty exists in Makefiles
It apparently doesn't on Ubuntu, and this way we also don't have to hack around it being missing in the Nix sandbox. Reported-by: Ville Ilvonen <ville.ilvonen@unikie.com> Message-Id: <20220406082038.4012718-1-hi@alyssa.is>
Diffstat (limited to 'host/rootfs/default.nix')
-rw-r--r-- | host/rootfs/default.nix | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/host/rootfs/default.nix b/host/rootfs/default.nix index cb02445..0bef7ba 100644 --- a/host/rootfs/default.nix +++ b/host/rootfs/default.nix @@ -94,11 +94,6 @@ stdenv.mkDerivation { MODULES_ORDER = "${kernel}/lib/modules/${kernel.modDirVersion}/modules.order"; PACKAGES_TAR = packagesTar; - postPatch = '' - mkdir $NIX_BUILD_TOP/empty - substituteInPlace Makefile --replace /var/empty $NIX_BUILD_TOP/empty - ''; - installPhase = '' cp build/rootfs.ext4 $out ''; |