forked from hswaw/hscloud
allow passing system to default.nix
This is needed to use hscloud in builds invoked from flakes. Change-Id: I7551b97dfeedb9399866cd2c16cc573ee60359cc Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1452 Reviewed-by: q3k <q3k@hackerspace.pl>master
parent
aa077968f9
commit
9836999652
|
@ -1,4 +1,4 @@
|
||||||
{ ... }@args:
|
{ system ? builtins.currentSystem, ... }@args:
|
||||||
|
|
||||||
with builtins;
|
with builtins;
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ let
|
||||||
config.permittedInsecurePackages = [
|
config.permittedInsecurePackages = [
|
||||||
"qtwebkit-5.212.0-alpha4"
|
"qtwebkit-5.212.0-alpha4"
|
||||||
];
|
];
|
||||||
|
inherit system;
|
||||||
};
|
};
|
||||||
|
|
||||||
resForPkgs = pkgs: fix (self: (readTree rec {
|
resForPkgs = pkgs: fix (self: (readTree rec {
|
||||||
|
|
Loading…
Reference in New Issue