New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/locate: don't create /var/cache #79022
Conversation
This is already handled by the default systemd tmpfiles. fixes NixOS#78941
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change looks ok
nixos/locate: don't create /var/cache
I am still getting the warning |
Are you sure you have updated the nixpkgs version used by NixOS? I don't see where this conflict should originate. |
Yes I did update.
|
This looks indeed weird. Can you have a look where
|
|
I see what is happening here. The patch actually needs to be backported to 19.09, since this is the channel you are using. |
We already create /var/cache as part of systemd default rules. Continuation of: NixOS@c9d6dee Reported in: NixOS#79022 (comment)
Have a look at #79820 |
Thank you @Mic92 for checking on this The issue is still mysterious as I am using unstable for mlocate
|
According to |
Yes, I did assume this. Is any way to cherry-pick in module from diff channels? |
Only if you have your own fork i.e. if you build from git. You a also use your github fork as a channel. However you can wait for the next channel update of 19.09 which includes a fix (it might been already out). |
We already create /var/cache as part of systemd default rules. Continuation of: NixOS@c9d6dee Reported in: NixOS#79022 (comment)
This is already handled by the default systemd tmpfiles.
fixes #78941
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)