Add fallback case when allowAliases is not set

This commit is contained in:
adisbladis 2022-05-10 04:35:27 +12:00
parent e47ffb5d60
commit 2fb7261976

View file

@ -177,7 +177,7 @@ in
)
);
} // super.lib.optionalAttrs super.config.allowAliases {
} // super.lib.optionalAttrs (super.config.allowAliases or true) {
emacsGcc = builtins.trace "emacsGcc has been renamed to emacsNativeComp, please update your expression." emacsNativeComp;
emacsPgtkGcc = builtins.trace "emacsPgtkGcc has been renamed to emacsPgtkNativeComp, please update your expression." emacsPgtkNativeComp;
}