Skip to content

Commit

Permalink
fix: ensure flake has all needed files
Browse files Browse the repository at this point in the history
by not ignoring `.gitattributes`; without this file, Nix is apparently
liable to omit critical files (like `flake.nix`) from the paths copied
to the Nix store.
  • Loading branch information
tomeon committed Mar 17, 2024
1 parent 9a98826 commit 38a325e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
/vagrant/ export-ignore
/vagrant/** export-ignore

# XXX do not exclude the `/tests/` hierarchy, as doing so breaks GitHub
# Actions. That is, do not do this:
# XXX do not exclude (a) the `/tests/` hierarchy, as doing so breaks GitHub
# Actions, or (b) the `.gitattributes` file, as this appears to break the Nix
# flake.
# That is, do not do this:
# /tests/ export-ignore
# /tests/** export-ignore
# .gitattributes export-ignore

*.nix export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.travis.yml export-ignore
CONTRIBUTING.md export-ignore
Expand Down

0 comments on commit 38a325e

Please sign in to comment.