lensfun: make sourceRoot independent

This commit is contained in:
Jonathan Ringer 2022-01-03 16:02:45 -08:00
parent 0701f2904b
commit a48ac877a6
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -25,9 +25,9 @@ stdenv.mkDerivation {
}; };
# replace database with a more recent snapshot # replace database with a more recent snapshot
postUnpack = '' prePatch = ''
rm -R source/data/db rm -R ./data/db
cp -R ${lensfunDatabase}/data/db source/data cp -R ${lensfunDatabase}/data/db ./data
''; '';
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];