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
When building a bundle (e.g. nix bundle --bundler github:NixOS/bundlers#toRPM nixpkgs-stable#hello), installing it and then reinstalling it with a new version (e.g. nix bundle --bundler github:NixOS/bundlers#toRPM nixpkgs-unstable#hello), the reinstall leaves behind old files (e.g. /nix/store/$HASH-zstd-$VERSION).
Note
I am reinstalling with sudo rpm -ivh --reinstall /path/to/prog.rpm.
Current workarounds
Before reinstalling an RPM built with nix bundle remove all files associated with it (sudo dnf remove $RPM_NAME), then install it.
Proposed solution
I have no idea how RPMs work, but I'd expect there to be a way to specify that when it reinstalls it should delete old files(?).
The text was updated successfully, but these errors were encountered:
When building a bundle (e.g.
nix bundle --bundler github:NixOS/bundlers#toRPM nixpkgs-stable#hello
), installing it and then reinstalling it with a new version (e.g.nix bundle --bundler github:NixOS/bundlers#toRPM nixpkgs-unstable#hello
), the reinstall leaves behind old files (e.g./nix/store/$HASH-zstd-$VERSION
).Note
I am reinstalling with
sudo rpm -ivh --reinstall /path/to/prog.rpm
.Current workarounds
Before reinstalling an RPM built with
nix bundle
remove all files associated with it (sudo dnf remove $RPM_NAME
), then install it.Proposed solution
I have no idea how RPMs work, but I'd expect there to be a way to specify that when it reinstalls it should delete old files(?).
The text was updated successfully, but these errors were encountered: