Skip to content

Commit

Permalink
Conditionally set process.implementation based on the presence of GIT…
Browse files Browse the repository at this point in the history
…HUB_ACTIONS
  • Loading branch information
amitaibu committed Jul 24, 2024
1 parent 36dad88 commit 006cba1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@
};

# This is needed so when running tests in GitHub actions, we can execute `devenv up &` without an error.
# process.implementation = "overmind";
# Conditionally set process.implementation based on the presence of GITHUB_ACTIONS
process = pkgs.lib.mkIf (builtins.getEnv "GITHUB_ACTIONS" != "") {
implementation = "overmind";
};
};
};
};
Expand Down

0 comments on commit 006cba1

Please sign in to comment.