pkgs-unstable: inherit system from stable pkgs
Previously, `builtins.defaultSystem` was implicitly used. This fixes NixOS system builds for systems other than `defaultSystem`.
This commit is contained in:
parent
24c3d68eee
commit
472bcf1565
@ -3,7 +3,11 @@ let
|
||||
in
|
||||
# Set default values for use without flakes
|
||||
{ pkgs ? import <nixpkgs> { config = {}; overlays = []; }
|
||||
, pkgsUnstable ? import nixpkgsPinned.nixpkgs-unstable { config = {}; overlays = []; }
|
||||
, pkgsUnstable ? import nixpkgsPinned.nixpkgs-unstable {
|
||||
inherit (pkgs) system;
|
||||
config = {};
|
||||
overlays = [];
|
||||
}
|
||||
}:
|
||||
let self = {
|
||||
clightning-rest = pkgs.callPackage ./clightning-rest { };
|
||||
|
Loading…
Reference in New Issue
Block a user