make devshell work on aarch64-linux

This commit is contained in:
2025-05-24 18:35:16 +02:00
parent 4f3afd3a2c
commit 2ee9461c9e

View File

@@ -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 = {