From f08935bce8740afec3ed19311f9cd38843eee9f3 Mon Sep 17 00:00:00 2001 From: Akira Komamura Date: Sat, 25 Nov 2023 13:25:02 +0900 Subject: [PATCH] squash! feat: Add localPackages to exclude certain packages from flake.nix --- pkgs/emacs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/emacs/default.nix b/pkgs/emacs/default.nix index 2f71708..d9b6f5b 100644 --- a/pkgs/emacs/default.nix +++ b/pkgs/emacs/default.nix @@ -131,7 +131,7 @@ in inherit flakeLockFile; }; - excludeLocalPackages = lib.flip (removeAttrs localPackages); + excludeLocalPackages = attrs: removeAttrs attrs localPackages; in { inherit lib; emacs = emacsPackage;