From 9767dc35a003fee820fae161afae9aef7ae1d0ad Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Fri, 23 Feb 2024 11:05:42 +0100 Subject: [PATCH] feat(hive.nix): Directly use the source of the patched nixpkgs --- hive.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/hive.nix b/hive.nix index 6991c61..f2f2490 100644 --- a/hive.nix +++ b/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