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