idiosyn/lib/platforms.nix

17 lines
288 B
Nix
Raw Normal View History

2024-08-24 15:00:02 +02:00
{ nixpkgs, ... }:
let inherit (nixpkgs) lib;
in lib.mapAttrs (system: platform: lib.systems.elaborate platform) {
"x86_64-linux" = {
system = "x86_64-linux";
};
"aarch64-linux" = {
system = "aarch64-linux";
};
"riscv64-linux" = {
system = "riscv64-linux";
};
}