diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-01-03 16:02:45 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2022-01-07 09:36:49 -0800 |
commit | a48ac877a63f2664a0fa36baa51a320dbc98b829 (patch) | |
tree | 6df1132bef4bdcead3190216f5580399b76d4264 /pkgs/development/libraries/lensfun | |
parent | 0701f2904bdc2033981f7f78a4c0857e3348190a (diff) |
lensfun: make sourceRoot independent
Diffstat (limited to 'pkgs/development/libraries/lensfun')
-rw-r--r-- | pkgs/development/libraries/lensfun/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/lensfun/default.nix b/pkgs/development/libraries/lensfun/default.nix index 23675c9f9f895..a889e5358a50b 100644 --- a/pkgs/development/libraries/lensfun/default.nix +++ b/pkgs/development/libraries/lensfun/default.nix @@ -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 ]; |