From 3ef5accbff272bb3b223ab89c21a9db69a43719d Mon Sep 17 00:00:00 2001 From: adisbladis Date: Tue, 20 Jun 2023 02:23:24 +1200 Subject: [PATCH] emacs: add back support in wrapper for using passthru.nativeComp The API was changed in https://github.com/NixOS/nixpkgs/pull/235859. --- pkgs/build-support/emacs/wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix index 4c30a065712..5aaf04d8b31 100644 --- a/pkgs/build-support/emacs/wrapper.nix +++ b/pkgs/build-support/emacs/wrapper.nix @@ -36,7 +36,7 @@ in customEmacsPackages.withPackages (epkgs: [ epkgs.evil epkgs.magit ]) self: let inherit (self) emacs; - withNativeCompilation = emacs.withNativeCompilation or false; + withNativeCompilation = emacs.withNativeCompilation or emacs.nativeComp or false; withTreeSitter = emacs.withTreeSitter or false; in packagesFun: # packages explicitly requested by the user