nix: Prefer dontUnpack over phony src

Prevents webp-thumbnailer from being rebuilt when the phony src changes.
This commit is contained in:
Donovan Glover 2024-04-02 19:11:38 -04:00
parent b8ad062cec
commit d250e8520f
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -6,7 +6,7 @@ stdenvNoCC.mkDerivation {
pname = "webp-thumbnailer";
version = "1.0.0";
src = ../assets;
dontUnpack = true;
postInstall = /* bash */ ''
mkdir -p $out/share/thumbnailers