make devshell work on aarch64-linux
This commit is contained in:
51
flake.nix
51
flake.nix
@@ -64,29 +64,34 @@
|
|||||||
inherit (clan) clanInternals nixosConfigurations;
|
inherit (clan) clanInternals nixosConfigurations;
|
||||||
|
|
||||||
devShells =
|
devShells =
|
||||||
let
|
nixpkgs.lib.genAttrs
|
||||||
system = "x86_64-linux";
|
[
|
||||||
pkgs = import nixpkgs {
|
"x86_64-linux"
|
||||||
inherit system;
|
"aarch64-linux"
|
||||||
};
|
]
|
||||||
in
|
(
|
||||||
{
|
system:
|
||||||
"${system}".default = pkgs.mkShell {
|
let
|
||||||
packages = [
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
inputs.agenix.packages.${system}.default
|
in
|
||||||
clan-core.packages.${system}.clan-cli
|
{
|
||||||
pkgs.nil # Nix language server
|
default = pkgs.mkShell {
|
||||||
pkgs.nixfmt-rfc-style
|
packages = [
|
||||||
pkgs.opentofu
|
inputs.agenix.packages.${system}.default
|
||||||
pkgs.terraform-ls
|
clan-core.packages.${system}.clan-cli
|
||||||
pkgs.deploy-rs
|
pkgs.nil # Nix language server
|
||||||
pkgs.zsh
|
pkgs.nixfmt-rfc-style
|
||||||
];
|
pkgs.opentofu
|
||||||
shellhook = ''
|
pkgs.terraform-ls
|
||||||
exec zsh
|
pkgs.deploy-rs
|
||||||
'';
|
pkgs.zsh
|
||||||
};
|
];
|
||||||
};
|
shellhook = ''
|
||||||
|
exec zsh
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
Reference in New Issue
Block a user