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";
|
"netbsd" = "NetBSD";
|
||||||
"freebsd" = "FreeBSD";
|
"freebsd" = "FreeBSD";
|
||||||
"openbsd" = "OpenBSD";
|
"openbsd" = "OpenBSD";
|
||||||
|
"wasm" = "Wasm";
|
||||||
}.${final.parsed.kernel.name} or null;
|
}.${final.parsed.kernel.name} or null;
|
||||||
|
|
||||||
# uname -p
|
# uname -p
|
||||||
|
|
Loading…
Reference in New Issue