diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-09 16:53:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 21:53:53 +0000 |
commit | b2c8061b44b01a39d953d75db30e39bd8f300021 (patch) | |
tree | 6783dd9c553bc75bbde046507a955af9e651048b | |
parent | d558fb98f6f8ce32e5c08a36d798441f1b941ba8 (diff) |
Disable extra-platforms = i686-linux on wsl1 (#3676)
WSL1 doesn’t support i686-linux emulation, see https://github.com/microsoft/wsl/issues/2468
-rw-r--r-- | src/libstore/globals.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index da95fd3ae..2fbcafff8 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -271,7 +271,7 @@ public: "listed in 'trusted-public-keys'."}; Setting<StringSet> extraPlatforms{this, - std::string{SYSTEM} == "x86_64-linux" ? StringSet{"i686-linux"} : StringSet{}, + std::string{SYSTEM} == "x86_64-linux" && !isWSL1() ? StringSet{"i686-linux"} : StringSet{}, "extra-platforms", "Additional platforms that can be built on the local system. " "These may be supported natively (e.g. armv7 on some aarch64 CPUs " |