From d1d9c0b47ddba67ba6c5745cc980c3d72c608c0d Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Fri, 12 May 2023 16:18:26 +0200 Subject: [PATCH] Send patched nixpkgs to nix registry --- flake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index d84d9dc9..ea14a5bc 100644 --- a/flake.nix +++ b/flake.nix @@ -121,12 +121,11 @@ ({ config, ... }: let nixpkgs = nixpkgsForSystem system; in { - environment.etc.nixpkgs.source = nixpkgs; nixpkgs.pkgs = import nixpkgs { inherit overlays system; config = config.nixpkgs.config; }; networking.hostName = name; nix = { extraOptions = "extra-experimental-features = nix-command flakes"; - registry = builtins.mapAttrs (name: v: { flake = v; }) inputs; + registry = (builtins.mapAttrs (name: v: { flake = v; }) inputs) // { nixpkgs.flake = nixpkgs; }; }; }) ./machines/${name}