feat(hive.nix): Directly use the source of the patched nixpkgs

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 =
{
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