Merge pull request #153877 from jonringer/lensfun

lensfun: make sourceRoot independent
This commit is contained in:
Florian Klink 2022-01-07 21:29:20 +01:00 committed by GitHub
commit 493931ec20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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