I’m trying to install wpaperd using a newer commit from GitHub, and from the source it appears to use buildRustPackage, which may be why my override isn’t accessing the right values.
I tried to use a nixpkgs overlay, since it has worked for previous packages:
But nothing happens, no error and no updated package. Apparently from what I’m reading, this doesn’t work for Rust packages. How can I properly override the src in this case?
Woops, bad copy-paste. I had an old eww override that I used as a template for this one, which didn’t work.
Does this mean that there is no way to override the source for any package that uses buildRustPackage?
I assume there is a worst-case option where I replace the wpaperd derivation entirely with a custom one, pointed at a different commit. But I don’t know how to reference that locally.
That looks like it should work, but it again does nothing when I rebuild. “No version or selection state changes.”
I’m doing all of this within Home Manager (installed as a module), which is the only other factor that might be an issue, but I’ve used overlays on other packages within Home Manager before and had no issue.
This is the latest version I’m trying, which gets imported by home.nix: