chore: inherit from nixpkgs.lib not nixpkgs

This commit is contained in:
Daylin Morgan 2024-02-10 14:27:57 -06:00
parent 9c8d7f6915
commit 589b98cb27
Signed by: daylin
GPG Key ID: C1E52E7DD81DF79F
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
nixpkgs,
systems,
}: let
inherit (nixpkgs) lib;
inherit (nixpkgs.lib) genAttrs makeBinPath;
eachSystem = fn:
lib.genAttrs (import systems) (system: let
pkgs = import nixpkgs {
@ -38,7 +38,7 @@
'';
postFixup = ''
wrapProgram $out/bin/monolisa-nerdfont-patch \
--set PATH ${lib.makeBinPath (with final; [fontforge])}
--set PATH ${makeBinPath (with final; [fontforge])}
'';
};
};