fix(cache): attempt to fix build failure of hass
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
3d5bbf4302
commit
73c4b09b9a
1 changed files with 27 additions and 14 deletions
|
@ -19,10 +19,24 @@
|
||||||
|
|
||||||
nixFastBuild = pkgs.writeShellApplication {
|
nixFastBuild = pkgs.writeShellApplication {
|
||||||
name = "nixFastBuild";
|
name = "nixFastBuild";
|
||||||
runtimeInputs = with pkgs; [gnugrep nix-fast-build-pkg];
|
|
||||||
|
runtimeInputs = builtins.attrValues {
|
||||||
|
inherit
|
||||||
|
(pkgs)
|
||||||
|
gnugrep
|
||||||
|
nix-output-monitor
|
||||||
|
;
|
||||||
|
|
||||||
|
inherit nix-fast-build-pkg;
|
||||||
|
};
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
cd "$FLAKE" || return
|
cd "$FLAKE" || return
|
||||||
|
|
||||||
|
# Home-assistant sometimes fails some tests when built with everything else
|
||||||
|
nom build --no-link \
|
||||||
|
.#nixosConfigurations.homie.config.services.home-assistant.package
|
||||||
|
|
||||||
nix-fast-build -f .#nixFastChecks "$@"
|
nix-fast-build -f .#nixFastChecks "$@"
|
||||||
|
|
||||||
mkdir -p results
|
mkdir -p results
|
||||||
|
@ -46,19 +60,18 @@ in {
|
||||||
Group = config.users.users.${mainUser}.group;
|
Group = config.users.users.${mainUser}.group;
|
||||||
};
|
};
|
||||||
|
|
||||||
path =
|
path = builtins.attrValues {
|
||||||
[
|
|
||||||
nix-fast-build-pkg
|
|
||||||
config.nix.package
|
|
||||||
]
|
|
||||||
++ (builtins.attrValues {
|
|
||||||
inherit
|
inherit
|
||||||
(pkgs)
|
(pkgs)
|
||||||
bash
|
bash
|
||||||
git
|
git
|
||||||
openssh
|
openssh
|
||||||
;
|
;
|
||||||
});
|
|
||||||
|
inherit (config.nix) package;
|
||||||
|
|
||||||
|
inherit nix-fast-build-pkg;
|
||||||
|
};
|
||||||
|
|
||||||
script = ''
|
script = ''
|
||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
Loading…
Reference in a new issue