Skip to content

Commit

Permalink
aarch64 devShell
Browse files Browse the repository at this point in the history
  • Loading branch information
asciimoth committed Apr 2, 2024
1 parent 71ce894 commit 883d7ec
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@
};
};
};
# idk why I use two devShells for x86 and aarh instead of one crossplatform
# I just copy-paste this template
devShells.x86_64-linux.default = with nixpkgs.legacyPackages.x86_64-linux;
mkShell {
inherit (checks.pre-commit-check) shellHook;
Expand All @@ -89,5 +91,13 @@
statix
];
};
devShells.aarch64-linux.default = with nixpkgs.legacyPackages.aarch64-linux;
mkShell {
inherit (checks.pre-commit-check) shellHook;
buildInputs = [
alejandra
statix
];
};
};
}

0 comments on commit 883d7ec

Please sign in to comment.