summary refs log tree commit diff
path: root/lib/systems/inspect.nix
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2020-03-24 13:32:18 +0530
committerEmery Hemingway <ehmry@posteo.net>2020-03-24 20:41:21 +0530
commit9f91fa02a6a3e6800dff5f80f061410e83aaeb28 (patch)
tree177b918c4f47906fa66cb7436b724ac386e1b9a3 /lib/systems/inspect.nix
parent5ee77aa47c320b725086b001cad8afb1997ad62b (diff)
downloadnixpkgs-9f91fa02a6a3e6800dff5f80f061410e83aaeb28.tar
nixpkgs-9f91fa02a6a3e6800dff5f80f061410e83aaeb28.tar.gz
nixpkgs-9f91fa02a6a3e6800dff5f80f061410e83aaeb28.tar.bz2
nixpkgs-9f91fa02a6a3e6800dff5f80f061410e83aaeb28.tar.lz
nixpkgs-9f91fa02a6a3e6800dff5f80f061410e83aaeb28.tar.xz
nixpkgs-9f91fa02a6a3e6800dff5f80f061410e83aaeb28.tar.zst
nixpkgs-9f91fa02a6a3e6800dff5f80f061410e83aaeb28.zip
lib/systems: Add Genode platform definitions
Add platform definitions for 64-bit ARM and x86. This is sufficient for
for building Genode where a toolchain is provided as an overlay.

Toolchain: git+https://git.sr.ht/~ehmry/genodepkgs?rev=14fc773ac9ecd2cbb30cb4612b284eee83d83546
Diffstat (limited to 'lib/systems/inspect.nix')
-rw-r--r--lib/systems/inspect.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix
index 01dcf0787df..90a1fb6d80c 100644
--- a/lib/systems/inspect.nix
+++ b/lib/systems/inspect.nix
@@ -47,6 +47,7 @@ rec {
     isMinGW        = { kernel = kernels.windows; abi = abis.gnu; };
     isWasi         = { kernel = kernels.wasi; };
     isGhcjs        = { kernel = kernels.ghcjs; };
+    isGenode       = { kernel = kernels.genode; };
     isNone         = { kernel = kernels.none; };
 
     isAndroid      = [ { abi = abis.android; } { abi = abis.androideabi; } ];