Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/flake-closure-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ jobs:
ATTR: ${{ inputs.attribute }}
run: |
nix develop --profile .profile ".#$ATTR" --command true
echo "path=.profile" >> "$GITHUB_OUTPUT"
# Absolute, because nix reads a relative path as a flake reference:
# it resolves the profile symlink and then rejects the store path with
# "is not a flake (because it's not a directory)". An absolute path
# under the store is recognised as a store path, which is what
# diff-closures wants.
echo "path=$PWD/.profile" >> "$GITHUB_OUTPUT"

- name: Report the difference
if: steps.before.outputs.path != ''
Expand Down
Loading