Skip to content

Commit 3f93592

Browse files
committed
chore(nix): add act to flake
Allows you to run the GHA locally with `act pull_request`
1 parent 2320bd4 commit 3f93592

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

flake.nix

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,14 @@
1010
flake-parts.lib.mkFlake {inherit inputs;} {
1111
imports = [];
1212
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
13-
perSystem = {
14-
config,
15-
self',
16-
inputs',
17-
pkgs,
18-
system,
19-
...
20-
}: {
13+
perSystem = {pkgs, ...}: {
2114
devShells = {
2215
default = pkgs.mkShell {
2316
# The Nix packages provided in the environment
2417
packages = with pkgs; [
2518
beam.packages.erlang_27.erlang
2619
beam.packages.erlang_27.elixir_1_17
20+
act
2721
];
2822
};
2923
};

0 commit comments

Comments
 (0)