From bceb4820f486aa25ba36616b9061e2a89db3f219 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sat, 31 Dec 2022 13:52:43 -0800 Subject: [PATCH] factor out lib as an optional argument --- src/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/default.nix b/src/default.nix index c05d878..1fde9d3 100644 --- a/src/default.nix +++ b/src/default.nix @@ -1,7 +1,7 @@ -{ pkgsFun ? import +{ lib ? import +, pkgsFun ? import }: let - lib = import ; nixpkgsArgs = { config.allowNonSource = false; }; nixpkgsOnBuildForBuild = pkgsFun nixpkgsArgs;