diff options
Diffstat (limited to 'release/live/default.nix')
-rw-r--r-- | release/live/default.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/release/live/default.nix b/release/live/default.nix index 4301ccc..66bba26 100644 --- a/release/live/default.nix +++ b/release/live/default.nix @@ -9,13 +9,12 @@ let inherit (config) pkgs; - inherit (pkgs.lib) cleanSource cleanSourceWith hasSuffix toUpper; + inherit (pkgs.lib) hasSuffix toUpper; extfs = pkgs.pkgsStatic.callPackage ../../host/initramfs/extfs.nix { inherit config; }; rootfs = import ../../host/rootfs { inherit config; }; - scripts = import ../../scripts { inherit config; }; initramfs = import ../../host/initramfs { inherit config rootfs; }; efiArch = stdenv.hostPlatform.efiArch; in @@ -23,12 +22,8 @@ in stdenvNoCC.mkDerivation { name = "spectrum-live.img"; - src = cleanSourceWith { - filter = name: _type: - name != "${toString ./.}/build" && - !(hasSuffix ".nix" name); - src = cleanSource ./.; - }; + inherit (config) src; + sourceRoot = "source/release/live"; nativeBuildInputs = [ cryptsetup dosfstools jq mtools util-linux ]; @@ -40,7 +35,6 @@ stdenvNoCC.mkDerivation { EFINAME = "BOOT${toUpper efiArch}.EFI"; buildFlags = [ "build/live.img" ]; - makeFlags = [ "SCRIPTS=${scripts}" ]; installPhase = '' runHook preInstall |