default.nix: pass system argument to nixpkgs
This commit is contained in:
parent
c0b313a0f0
commit
3f75cbd357
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
static ? false,
|
static ? false
|
||||||
|
, system ? builtins.currentSystem
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -22,7 +23,7 @@ let
|
|||||||
[ "default.nix" ".git" ]
|
[ "default.nix" ".git" ]
|
||||||
++ lib.splitString "\n" (lib.readFile ./.gitignore));
|
++ lib.splitString "\n" (lib.readFile ./.gitignore));
|
||||||
|
|
||||||
inherit (import nixpkgs { }) lib pkgs;
|
inherit (import nixpkgs { inherit system; }) lib pkgs;
|
||||||
|
|
||||||
python = pkgs.python3;
|
python = pkgs.python3;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user