Skip to content

Commit

Permalink
fix: Make changes on deprecation of lib.makeScope
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Feb 7, 2024
1 parent 3f68bf3 commit 2a12e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/emacs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
removeAttrs
;
in
lib.makeScope pkgs.newScope (self: let
lib.overrideScope pkgs.newScope (self: let
flakeLockFile = lockDir + "/flake.lock";

archiveLockFile = lockDir + "/archive.lock";
Expand Down Expand Up @@ -180,7 +180,7 @@ in

# An actual derivation set of Emacs Lisp packages. You can override this
# attribute set to change how they are built.
elispPackages = lib.makeScope self.newScope (eself:
elispPackages = lib.overrideScope self.newScope (eself:
mapAttrs
(ename: attrs:
self.callPackage ./build {}
Expand Down

0 comments on commit 2a12e42

Please sign in to comment.