add riscv64 support

This commit is contained in:
Jörg Thalheim 2024-07-25 11:37:11 +02:00
parent 31b6d2e40b
commit 53eb7cde5b

View file

@ -16,9 +16,15 @@
};
defaultTemplate = self.templates.app;
} //
(flake-utils.lib.eachDefaultSystem
(system:
}
// (flake-utils.lib.eachSystem
[
"x86_64-linux"
"aarch64-linux"
"riscv64-linux"
]
(
system:
let
pkgs = nixpkgs.legacyPackages.${system};
@ -44,6 +50,7 @@
devShells.default = callPackage ./shell.nix {
inherit mkGoEnv gomod2nix;
};
})
}
)
);
}