Merge pull request #153877 from jonringer/lensfun
lensfun: make sourceRoot independent
This commit is contained in:
commit
493931ec20
1 changed files with 3 additions and 3 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue