ref(nix): use callPackage

I didn't know it resolves lambda arguments, interesting
This commit is contained in:
Léana 江 2024-03-08 22:25:32 +01:00 committed by Léana 江
parent e90eafa667
commit b00f94996e
5 changed files with 41 additions and 40 deletions

View file

@ -21,9 +21,8 @@
inherit pkgs;
nurpkgs = pkgs;
};
custom = import ./custom {
inherit pkgs unstable;
inherit system;
custom = pkgs.callPackage ./custom {
inherit unstable;
inherit (input) opam-nix;
};
in {