mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
qt5.qttranslations: disable if cross to prevent infinite recursion
This commit is contained in:
parent
d1df34dc10
commit
c591f4d635
@ -338,7 +338,12 @@ let
|
||||
});
|
||||
|
||||
finalScope = baseScope.overrideScope(final: prev: {
|
||||
qttranslations = bootstrapScope.qttranslations;
|
||||
# qttranslations causes eval-time infinite recursion when
|
||||
# cross-compiling; disabled for now.
|
||||
qttranslations =
|
||||
if stdenv.buildPlatform == stdenv.hostPlatform
|
||||
then bootstrapScope.qttranslations
|
||||
else null;
|
||||
qutebrowser = final.callPackage ../../../../applications/networking/browsers/qutebrowser { };
|
||||
});
|
||||
in finalScope
|
||||
|
Loading…
Reference in New Issue
Block a user