mirror of
https://github.com/nix-community/emacs-overlay.git
synced 2025-12-06 02:40:25 -08:00
Fix - typo in native-comp flag (old flag was actually --with-nativecomp)
This commit is contained in:
parent
afa5bd8ca4
commit
8091609efc
1 changed files with 3 additions and 3 deletions
|
|
@ -60,10 +60,10 @@ let
|
|||
)
|
||||
)
|
||||
|
||||
# --with-native-comp was changed to --with-native-compilation
|
||||
# --with-nativecomp was changed to --with-native-compilation
|
||||
# Remove this once 21.05 is released
|
||||
(drv: if drv.passthru.nativeComp && self.lib.elem "--with-native-comp" drv.configureFlags then drv.overrideAttrs(old: {
|
||||
configureFlags = builtins.map (flag: if flag == "--with-native-comp" then "--with-native-compilation" else flag) old.configureFlags;
|
||||
(drv: if drv.passthru.nativeComp && self.lib.elem "--with-nativecomp" drv.configureFlags then drv.overrideAttrs(old: {
|
||||
configureFlags = builtins.map (flag: if flag == "--with-nativecomp" then "--with-native-compilation" else flag) old.configureFlags;
|
||||
}) else drv)
|
||||
|
||||
# reconnect pkgs to the built emacs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue