mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
lensfun: make sourceRoot independent
This commit is contained in:
parent
0701f2904b
commit
a48ac877a6
@ -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 New Issue
Block a user