Skip to content

Commit 472bcf1

Browse files
committed
pkgs-unstable: inherit system from stable pkgs
Previously, `builtins.defaultSystem` was implicitly used. This fixes NixOS system builds for systems other than `defaultSystem`.
1 parent 24c3d68 commit 472bcf1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pkgs/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ let
33
in
44
# Set default values for use without flakes
55
{ pkgs ? import <nixpkgs> { config = {}; overlays = []; }
6-
, pkgsUnstable ? import nixpkgsPinned.nixpkgs-unstable { config = {}; overlays = []; }
6+
, pkgsUnstable ? import nixpkgsPinned.nixpkgs-unstable {
7+
inherit (pkgs) system;
8+
config = {};
9+
overlays = [];
10+
}
711
}:
812
let self = {
913
clightning-rest = pkgs.callPackage ./clightning-rest { };

0 commit comments

Comments
 (0)