From 23c8076e4d8cd6b0bc73dddfe7b67f463642be27 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Fri, 28 Mar 2025 21:45:38 -0700 Subject: [PATCH] Pinning system nixpkgs is not needed anymore. nixpkgs already does this automatically for flakes. --- common/flakes.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/flakes.nix b/common/flakes.nix index ce57fe6..0c6f21a 100644 --- a/common/flakes.nix +++ b/common/flakes.nix @@ -13,12 +13,6 @@ in extraOptions = '' experimental-features = nix-command flakes ''; - - # pin nixpkgs for system commands such as "nix shell" - registry.nixpkgs.flake = config.inputs.nixpkgs; - - # pin system nixpkgs to the same version as the flake input - nixPath = [ "nixpkgs=${config.inputs.nixpkgs}" ]; }; }; }