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
/nix/store/12afkpbag242i7w9lb26bk**********_source includes untracked cache files .DS_Store.git.lsp/.cache.clj-kondo/.cache. test-untracked.txt is also included.
In particular, .clj-kondo/.cache takes a long time to copy because it is over 50MB and consists of over 10,000 small files. If .clj-kondo/.cache exists, time home-manager switch will be about 30 seconds. If it is removed it will be 3 seconds.
These cache files are listed in .gitignore, but home-manager switch does not seem to use .gitignore. Is there a source filter for the .config/home-manager directory?
Is this a flake issue rather than a home-manager issue? I think the nixos-rebuild switch does not copy untracked files, but the home-manager switch does copy them.
Thank you for your contribution!
I marked this issue as stale due to inactivity.
Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'.
We welcome additional information that will help resolve this issue.
Please read the relevant sections below before commenting.
If you are the original author of the issue
If this is resolved, please consider closing it so that the maintainers know not to focus on this.
If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough.
If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
If you are not the original author of the issue
If you are also experiencing this issue, please add details of your situation to help with the debugging process.
If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
Memorandum on closing issues
Don't be afraid to manually close an issue, even if it holds valuable information.
Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost!
Closing obsolete issues is an important way to help maintainers focus their time and effort.
Are you following the right branch?
Is there an existing issue for this?
Issue description
I'm having trouble because files that are excluded with
.gitignore
are copied to/nix/store/12afkpbag242i7w9lb26bk**********-source/
.I confirmed by the following steps:
~/.config/home-manager/test-untracked.txt
.home-manager swith
withflake.nix
.~/.config/home-manager
itself is copied to/nix/store/12afkpbag242i7w9lb26bk**********-source/
as source tree.fd -IH "test-untracked.txt" /nix/store/
shows/nix/store/12afkpbag242i7w9lb26bk**********-source/test-untracked.txt
/nix/store/12afkpbag242i7w9lb26bk**********_source
includes untracked cache files.DS_Store
.git
.lsp/.cache
.clj-kondo/.cache
.test-untracked.txt
is also included.In particular,
.clj-kondo/.cache
takes a long time to copy because it is over 50MB and consists of over 10,000 small files. If.clj-kondo/.cache
exists,time home-manager switch
will be about30 seconds
. If it is removed it will be3 seconds
.These cache files are listed in
.gitignore
, buthome-manager switch
does not seem to use.gitignore
. Is there a source filter for the.config/home-manager
directory?Is this a flake issue rather than a home-manager issue? I think the
nixos-rebuild switch
does not copy untracked files, but thehome-manager switch
does copy them.Maintainer CC
No response
System information
I am not using
nix-darwin
. usinghome-manager switch
.The text was updated successfully, but these errors were encountered: