mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-09-08 00:06:26 +00:00
add riscv64 support
This commit is contained in:
parent
31b6d2e40b
commit
53eb7cde5b
1 changed files with 11 additions and 4 deletions
15
flake.nix
15
flake.nix
|
@ -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;
|
||||
};
|
||||
})
|
||||
}
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue