systems/default.nix: wasm in platform.uname.system

This adds the "Wasm" system to platform.uname.system. This is used in CMake infrastructure.
wip/yesman
Matthew Bauer 5 years ago committed by GitHub
parent 15e8d1d314
commit bf041c3f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      lib/systems/default.nix

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

Loading…
Cancel
Save