feat(hive.nix): Directly use the source of the patched nixpkgs
All checks were successful
build configuration / build_vault01 (pull_request) Successful in 53s
build configuration / build_storage01 (pull_request) Successful in 57s
build configuration / build_compute01 (pull_request) Successful in 1m3s
build configuration / build_web02 (pull_request) Successful in 53s
build configuration / build_rescue01 (pull_request) Successful in 51s
build configuration / build_web01 (pull_request) Successful in 1m16s
build configuration / build_compute01 (push) Successful in 1m12s
build configuration / build_vault01 (push) Successful in 1m4s
build configuration / build_rescue01 (push) Successful in 1m3s
build configuration / build_web02 (push) Successful in 1m5s
build configuration / build_storage01 (push) Successful in 1m8s
lint / check (push) Successful in 20s
build configuration / build_web01 (push) Successful in 1m32s

This commit is contained in:
Tom Hubrecht 2024-02-23 11:05:42 +01:00 committed by thubrecht
parent 82cafb5fd7
commit 9767dc35a0

View file

@ -51,12 +51,7 @@ in
}; };
defaults = defaults =
{ { meta, name, ... }:
pkgs,
meta,
name,
...
}:
{ {
# Import the default modules # Import the default modules
imports = [ ./modules ]; imports = [ ./modules ];
@ -68,7 +63,7 @@ in
inherit (meta.nodes.${name}) deployment; inherit (meta.nodes.${name}) deployment;
# Set NIX_PATH to the patched version of nixpkgs # Set NIX_PATH to the patched version of nixpkgs
nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; nix.nixPath = [ "nixpkgs=${mkNixpkgs name}" ];
nix.optimise.automatic = true; nix.optimise.automatic = true;
# Allow unfree packages # Allow unfree packages