simplify overlay.nix
Move pkg definitions to pkgs/default.nix. This allows us to just import the pkgs in overlay.nix and get rid of the filtering to exclude the modules.
This commit is contained in:
parent
07dc3e04ac
commit
7e021a2629
3 changed files with 15 additions and 34 deletions
12
pkgs/default.nix
Normal file
12
pkgs/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
{
|
||||
nodeinfo = pkgs.callPackage ./nodeinfo { };
|
||||
lightning-charge = pkgs.callPackage ./lightning-charge { };
|
||||
nanopos = pkgs.callPackage ./nanopos { };
|
||||
spark-wallet = pkgs.callPackage ./spark-wallet { };
|
||||
electrs = (pkgs.callPackage ./electrs { }).rootCrate.build;
|
||||
elementsd = pkgs.callPackage ./elementsd { withGui = false; };
|
||||
hwi = pkgs.callPackage ./hwi { };
|
||||
pylightning = pkgs.python3Packages.callPackage ./pylightning { };
|
||||
liquid-swap = pkgs.python3Packages.callPackage ./liquid-swap { };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue