From 1b26fc011a0f136f05e4a2f3e6e5b5c6e0c5214e Mon Sep 17 00:00:00 2001 From: Hraban Luyat Date: Mon, 4 Sep 2023 01:20:27 -0400 Subject: emacs: allow using as shebang on darwin --- pkgs/top-level/emacs-packages.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkgs/top-level/emacs-packages.nix') diff --git a/pkgs/top-level/emacs-packages.nix b/pkgs/top-level/emacs-packages.nix index 2b06fd2e242..a14f53d5352 100644 --- a/pkgs/top-level/emacs-packages.nix +++ b/pkgs/top-level/emacs-packages.nix @@ -47,8 +47,7 @@ let inherit lib pkgs; }; - emacsWithPackages = { pkgs, lib }: import ../build-support/emacs/wrapper.nix { - inherit (pkgs) makeWrapper runCommand gcc; + emacsWithPackages = { pkgs, lib }: pkgs.callPackage ../build-support/emacs/wrapper.nix { inherit (pkgs.xorg) lndir; inherit lib; }; -- cgit 1.4.1