2024-11-22 11:21:55 +00:00
|
|
|
{
|
|
|
|
inTester,
|
2024-11-22 17:57:25 +00:00
|
|
|
system,
|
|
|
|
self,
|
|
|
|
rust-overlay,
|
|
|
|
nix-vscode-extensions,
|
2024-11-22 11:21:55 +00:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
if !inTester then
|
2024-11-22 17:57:25 +00:00
|
|
|
(
|
|
|
|
[
|
|
|
|
./inputs-overlay.nix
|
|
|
|
]
|
|
|
|
++ (
|
|
|
|
if system == "riscv64-linux" then
|
|
|
|
[
|
|
|
|
./riscv.nix
|
|
|
|
./riscv-cross-packages.nix
|
|
|
|
]
|
|
|
|
else
|
|
|
|
[ ]
|
|
|
|
)
|
|
|
|
)
|
2024-11-22 11:21:55 +00:00
|
|
|
else
|
|
|
|
[ ];
|
|
|
|
}
|
2024-11-22 17:57:25 +00:00
|
|
|
// (
|
|
|
|
if !inTester then
|
|
|
|
{
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
self.overlays.default
|
|
|
|
(import rust-overlay)
|
|
|
|
nix-vscode-extensions.overlays.default
|
|
|
|
];
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{ }
|
|
|
|
)
|