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;
|
||||
|
||||
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 = {
|
||||
|
||||
Reference in New Issue
Block a user