chore: nix flake update
Switched to nixpkgs-unstable Replaced postgresql dependency with much smaller libpq. Utilise new inputs.self.submodules feature to simplify flake use Moved apps to a separate file Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
f58079e559
commit
1ead6791fd
24
flake.nix
24
flake.nix
@@ -2,18 +2,23 @@
|
||||
description = "Core Lightning (CLN): A specification compliant Lightning Network implementation in C";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
|
||||
crane.url = "github:ipetkov/crane";
|
||||
|
||||
treefmt-nix.url = "github:numtide/treefmt-nix";
|
||||
treefmt-nix = {
|
||||
url = "github:numtide/treefmt-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
advisory-db = {
|
||||
url = "github:rustsec/advisory-db";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
self.submodules = true;
|
||||
};
|
||||
|
||||
outputs =
|
||||
@@ -29,6 +34,7 @@
|
||||
inputs.treefmt-nix.flakeModule
|
||||
./nix/pkgs/flake-module.nix
|
||||
./nix/checks/flake-module.nix
|
||||
./nix/apps.nix
|
||||
./nix/shells.nix
|
||||
./nix/treefmt.nix
|
||||
];
|
||||
@@ -45,20 +51,6 @@
|
||||
inherit system;
|
||||
overlays = [ (final: prev: { craneLib = (inputs.crane.mkLib pkgs); }) ];
|
||||
};
|
||||
apps = {
|
||||
lightningd = {
|
||||
program = "${self'.packages.cln}/bin/lightningd";
|
||||
};
|
||||
lightning-cli = {
|
||||
program = "${self'.packages.cln}/bin/lightning-cli";
|
||||
};
|
||||
lightning-hsmtool = {
|
||||
program = "${self'.packages.cln}/bin/lightning-hsmtool";
|
||||
};
|
||||
reckless = {
|
||||
program = "${self'.packages.cln}/bin/reckless";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user