factor out lib as an optional argument

master
Adam Joseph 2 years ago
parent 5fa23513f9
commit bceb4820f4

@ -1,7 +1,7 @@
{ pkgsFun ? import <nixpkgs>
{ lib ? import <nixpkgs/lib>
, pkgsFun ? import <nixpkgs>
}:
let
lib = import <nixpkgs/lib>;
nixpkgsArgs = { config.allowNonSource = false; };
nixpkgsOnBuildForBuild = pkgsFun nixpkgsArgs;

Loading…
Cancel
Save