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:
Matthew Bauer 2019-01-27 17:29:23 -05:00 committed by GitHub
parent 15e8d1d314
commit bf041c3f1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,7 @@ rec {
"netbsd" = "NetBSD";
"freebsd" = "FreeBSD";
"openbsd" = "OpenBSD";
"wasm" = "Wasm";
}.${final.parsed.kernel.name} or null;
# uname -p