Remove nixpkgs-stable input

I don't use it. Likely won't.
This commit is contained in:
Henrik Lissner 2021-02-14 14:43:31 -05:00
parent 021d50670c
commit 4352f2362f
2 changed files with 3 additions and 21 deletions

View file

@ -102,21 +102,6 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs-stable": {
"locked": {
"lastModified": 1612995862,
"narHash": "sha256-VJPQtC8WDPvQVQGolJqp2i43Yr9bvbyqGK3oWMa5+8g=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2394284537b89471c87065b040d3dedd8b5907fe",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-20.09",
"type": "indirect"
}
},
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1613226215, "lastModified": 1613226215,

View file

@ -15,7 +15,6 @@
# Core dependencies. # Core dependencies.
nixpkgs.url = "nixpkgs/nixos-unstable"; # primary nixpkgs nixpkgs.url = "nixpkgs/nixos-unstable"; # primary nixpkgs
nixpkgs-unstable.url = "nixpkgs/master"; # for packages on the edge nixpkgs-unstable.url = "nixpkgs/master"; # for packages on the edge
nixpkgs-stable.url = "nixpkgs/nixos-20.09"; # for stable packages
home-manager.url = "github:rycee/home-manager/master"; home-manager.url = "github:rycee/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
@ -26,7 +25,7 @@
nixos-hardware.url = "github:nixos/nixos-hardware"; nixos-hardware.url = "github:nixos/nixos-hardware";
}; };
outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, nixpkgs-stable, ... }: outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, ... }:
let let
inherit (lib.my) mapModules mapModulesRec mapHosts; inherit (lib.my) mapModules mapModulesRec mapHosts;
@ -38,8 +37,7 @@
overlays = extraOverlays ++ (lib.attrValues self.overlays); overlays = extraOverlays ++ (lib.attrValues self.overlays);
}; };
pkgs = mkPkgs nixpkgs [ self.overlay ]; pkgs = mkPkgs nixpkgs [ self.overlay ];
pkgsUnstable = mkPkgs nixpkgs-unstable []; pkgs' = mkPkgs nixpkgs-unstable [];
pkgsStable = mkPkgs nixpkgs-stable [];
lib = nixpkgs.lib.extend lib = nixpkgs.lib.extend
(self: super: { my = import ./lib { inherit pkgs inputs; lib = self; }; }); (self: super: { my = import ./lib { inherit pkgs inputs; lib = self; }; });
@ -48,8 +46,7 @@
overlay = overlay =
final: prev: { final: prev: {
unstable = pkgsUnstable; unstable = pkgs';
stable = pkgsStable;
my = self.packages."${system}"; my = self.packages."${system}";
}; };