make pinned pkgs accessible through pkgs/default.nix

Useful for developing and for importing pinned pkgs via config.nix.
This commit is contained in:
Erik Arvstedt 2020-03-04 18:08:46 +01:00
parent aca23197d3
commit cce9932b62
No known key found for this signature in database
GPG key ID: 33312B944DD97846
3 changed files with 18 additions and 11 deletions

11
pkgs/pinned.nix Normal file
View file

@ -0,0 +1,11 @@
let
nixpkgsPinned = import ./nixpkgs-pinned.nix;
unstable = import nixpkgsPinned.nixpkgs-unstable { config = {}; overlays = []; };
in
{
bitcoin = unstable.bitcoin.override { miniupnpc = null; };
bitcoind = unstable.bitcoind.override { miniupnpc = null; };
inherit (unstable)
clightning
lnd;
}