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
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:
parent
82cafb5fd7
commit
9767dc35a0
1 changed files with 2 additions and 7 deletions
9
hive.nix
9
hive.nix
|
@ -51,12 +51,7 @@ in
|
|||
};
|
||||
|
||||
defaults =
|
||||
{
|
||||
pkgs,
|
||||
meta,
|
||||
name,
|
||||
...
|
||||
}:
|
||||
{ meta, name, ... }:
|
||||
{
|
||||
# Import the default modules
|
||||
imports = [ ./modules ];
|
||||
|
@ -68,7 +63,7 @@ in
|
|||
inherit (meta.nodes.${name}) deployment;
|
||||
|
||||
# Set NIX_PATH to the patched version of nixpkgs
|
||||
nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
|
||||
nix.nixPath = [ "nixpkgs=${mkNixpkgs name}" ];
|
||||
nix.optimise.automatic = true;
|
||||
|
||||
# Allow unfree packages
|
||||
|
|
Loading…
Reference in a new issue