You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came here trying to figure out whether this library works with Flakes and pure builds. This issue seems to indicate that it doesn't, mentioning home. Maybe add a sentence to README.md about purity?
My understanding is that pure mode will pretend home does not exist, which is handled gracefully.
I can't confirm this because for some reason pure-eval seems to enable restricted mode as well and it's unable to load the very file I'm asking it to build. Maybe you'll have more luck.
I should also note that flakes invoke builtins.fetchGit and then import from there which kind of works but has drawbacks as well. Using gitignore.nix with flakes may be redundant, unless you're exporting functions that will be used in a non-flake context.
Investigate whether paths in the store are valid arguments and need to be treated differently.
Put in the README something like:
gitignore uses home, which can be considered "impure", but is your worktree really "pure" without ignoring your local tools' mess?
The text was updated successfully, but these errors were encountered: