From 589b98cb277f0ecc6de830f08b25c3c4cfc38f61 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sat, 10 Feb 2024 14:27:57 -0600 Subject: [PATCH] chore: inherit from nixpkgs.lib not nixpkgs --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index f6cd00a..1ee46e6 100644 --- a/flake.nix +++ b/flake.nix @@ -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])} ''; }; };