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;
devShells =
nixpkgs.lib.genAttrs
[
"x86_64-linux"
"aarch64-linux"
]
(
system:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
pkgs = nixpkgs.legacyPackages.${system};
in
{
"${system}".default = pkgs.mkShell {
default = pkgs.mkShell {
packages = [
inputs.agenix.packages.${system}.default
clan-core.packages.${system}.clan-cli
@@ -86,7 +90,8 @@
exec zsh
'';
};
};
}
);
};
inputs = {