chore: inherit from nixpkgs.lib not nixpkgs
This commit is contained in:
parent
9c8d7f6915
commit
589b98cb27
|
@ -11,7 +11,7 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
systems,
|
systems,
|
||||||
}: let
|
}: let
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs.lib) genAttrs makeBinPath;
|
||||||
eachSystem = fn:
|
eachSystem = fn:
|
||||||
lib.genAttrs (import systems) (system: let
|
lib.genAttrs (import systems) (system: let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
'';
|
'';
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/monolisa-nerdfont-patch \
|
wrapProgram $out/bin/monolisa-nerdfont-patch \
|
||||||
--set PATH ${lib.makeBinPath (with final; [fontforge])}
|
--set PATH ${makeBinPath (with final; [fontforge])}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue