From 1c4daadc161763bc9f877dd19da4927478d54b48 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Mon, 22 Apr 2024 19:43:50 -0400 Subject: [PATCH] inputs -> inputs' where relevent --- modules/nix.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/nix.nix b/modules/nix.nix index 8abcff8..4a989f4 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -1,4 +1,4 @@ -inputs: +inputs': { lib, config, @@ -9,10 +9,10 @@ inputs: # # Flake registry and $NIX_PATH pinning # - nix.registry = lib.pipe inputs [ + nix.registry = lib.pipe inputs' [ (lib.filterAttrs (_: lib.isType "flake")) (lib.mapAttrs (_: flake: { inherit flake; })) - (x: x // { nixpkgs.flake = inputs.unstable; }) + (x: x // { nixpkgs.flake = inputs'.unstable; }) ]; environment.etc = lib.mapAttrs' (name: value: { @@ -27,7 +27,7 @@ inputs: # # Use nix directly from master # - nix.package = inputs.nix.packages.default.overrideAttrs (old: { + nix.package = inputs'.nix.packages.default.overrideAttrs (old: { patches = old.patches or [ ] ++ [ (pkgs.fetchpatch { url = "https://github.com/NixOS/nix/commit/b6ae3be9c6ec4e9de55479188e76fc330b2304dd.patch";