forked from mirrors/nixpkgs
systems/default.nix: wasm in platform.uname.system
This adds the "Wasm" system to platform.uname.system. This is used in CMake infrastructure.
This commit is contained in:
parent
15e8d1d314
commit
bf041c3f1d
|
@ -58,6 +58,7 @@ rec {
|
|||
"netbsd" = "NetBSD";
|
||||
"freebsd" = "FreeBSD";
|
||||
"openbsd" = "OpenBSD";
|
||||
"wasm" = "Wasm";
|
||||
}.${final.parsed.kernel.name} or null;
|
||||
|
||||
# uname -p
|
||||
|
|
Loading…
Reference in a new issue