make devshell work on aarch64-linux
This commit is contained in:
17
flake.nix
17
flake.nix
@@ -64,14 +64,18 @@
|
|||||||
inherit (clan) clanInternals nixosConfigurations;
|
inherit (clan) clanInternals nixosConfigurations;
|
||||||
|
|
||||||
devShells =
|
devShells =
|
||||||
|
nixpkgs.lib.genAttrs
|
||||||
|
[
|
||||||
|
"x86_64-linux"
|
||||||
|
"aarch64-linux"
|
||||||
|
]
|
||||||
|
(
|
||||||
|
system:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
pkgs = import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
"${system}".default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
inputs.agenix.packages.${system}.default
|
inputs.agenix.packages.${system}.default
|
||||||
clan-core.packages.${system}.clan-cli
|
clan-core.packages.${system}.clan-cli
|
||||||
@@ -86,7 +90,8 @@
|
|||||||
exec zsh
|
exec zsh
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
Reference in New Issue
Block a user