make devshell work on aarch64-linux
This commit is contained in:
parent
4f3afd3a2c
commit
2ee9461c9e
1 changed files with 28 additions and 23 deletions
17
flake.nix
17
flake.nix
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue