emacs: disable native compilation when cross-compiling
Also unmarks Emacs as broken in this build configuration.
This commit is contained in:
parent
597ed0c552
commit
90fba39526
|
@ -65,7 +65,7 @@
|
|||
, withNativeCompilation ?
|
||||
if nativeComp != null
|
||||
then lib.warn "nativeComp option is deprecated and will be removed; use withNativeCompilation instead" nativeComp
|
||||
else true
|
||||
else stdenv.buildPlatform.canExecute stdenv.hostPlatform
|
||||
, noGui ? false
|
||||
, srcRepo ? true
|
||||
, withAcl ? false
|
||||
|
@ -405,6 +405,6 @@ mkDerivation (finalAttrs: {
|
|||
};
|
||||
|
||||
meta = meta // {
|
||||
broken = !(stdenv.buildPlatform.canExecute stdenv.hostPlatform);
|
||||
broken = withNativeCompilation && !(stdenv.buildPlatform.canExecute stdenv.hostPlatform);
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue