Rebuild fails due to plasma-vault

Hey everyone, just signed up because I could not find anything whatsoever on this situation.

TLDR:

I updated nixos to 25.11 and tried to rebuild, and the package pkgs.kdePackages.plasma-vault fails to build, despite not being in the config anymore!

nix-store -l /nix/store/fn0vfg5016pypnpw8qwdrqqlv3f41gii-plasma-vault-6.5.4.drv

gives me:

Running phase: qtPreHook { “action”: “setPhase”, “phase”: “qtPreHook” }Running phase: unpackPhase { “action”: “setPhase”, “phase”: “unpackPhase” }unpacking source archive /nix/store/a5l24prgav03c2p2kv6ybq94yjvbvz94-plasma-vault-6.5.4.tar.xzsource root is plasma-vault-6.5.4separate-debug-info: recording checksum of source files for debug support…setting SOURCE_DATE_EPOCH to timestamp 1765274015 of file “plasma-vault-6.5.4/vim-extrarc”Running phase: patchPhase { “action”: “setPhase”, “phase”: “patchPhase” }applying patch /nix/store/c0c7dh4k1m4kb13ld1hhjp572h2q4ny5-hardcode-paths.patchpatching file kded/engine/backends/cryfs/cryfsbackend.cpppatching file kded/engine/backends/encfs/encfsbackend.cpppatching file kded/engine/backends/gocryptfs/gocryptfsbackend.cpppatching file kded/engine/fusebackend_p.cpppatching file kded/engine/vault.cppHunk #1 FAILED at 485.Hunk #2 succeeded at 546 (offset 8 lines).1 out of 2 hunks FAILED – saving rejects to file kded/engine/vault.cpp.rejpatching file kded/ui/cryfscypherchooserwidget.cpp

However, that’s only part of the issue.

I have then removed it from my configuration.nix, rebuilt, but it still fails with this error and on this package, despite it not even being in the config anymore??

I had some other packagaes that failed after updating to 25.11, which I didn’t need and just commented out, which solved it for the time being.

But not so with this one. What’s going on?

Edit: It’s not actually conclusively failing, it just stops after the error message until ended manually.

Is this intended? And how can I get to a buildable state again?

Let me know what other information is needed.

Thanks

It means something else in your config depends on it, or you’re building the wrong config, or your nixpkgs is outdated. Post your config and exact build command.

PS when posting code/logs, use code blocks. See https://markdown-it.github.io/

EDIT: looks like an issue in nixpkgs, follow [Backport release-25.11] kdePackages.plasma-vault: refresh patch by nixpkgs-ci[bot] · Pull Request #473092 · NixOS/nixpkgs · GitHub for fix.

Update:

I switched to unstable for now and that built properly, even with plasma vault enabled.

From what I understand it got fixed in unstable first and was ported to 25.11 just now as well

Thanks for your reply! :slight_smile: