Skip to content

Commit

Permalink
Merge pull request #122 from traP-jp/feat/#120-nix-fmt-ci
Browse files Browse the repository at this point in the history
nix fmt CI
  • Loading branch information
comavius authored Oct 28, 2024
2 parents 7deb71f + 143972f commit 3df6af5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/exec-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix build ./exec-container/flake.nix
- run: nix flake check ./exec-container/flake.nix
- run: nix flake check ./exec-container/flake.nix
- run: cd ./exec-container && nix fmt && git diff --exit-code || (echo "Please run 'nix fmt' and commit the changes" && exit 1)
2 changes: 1 addition & 1 deletion exec-container/interpreters/bash/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{pkgs}: let
myBash = pkgs.bash;
in
pkgs.writeShellScriptBin "bash" "exec ${myBash}/bin/bash $@"
pkgs.writeShellScriptBin "bash" "exec ${myBash}/bin/bash $@"

0 comments on commit 3df6af5

Please sign in to comment.