diff options
author | Pavel Sobolev <paveloom@riseup.net> | 2023-10-24 13:19:00 +0300 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2023-11-06 22:50:57 +0100 |
commit | cedd2ce2be48503407a96720f07a0a861d4378ab (patch) | |
tree | 30b9267e349986d2253cb71156d2b72661eb3b47 /pkgs/development/libraries/libtorrent-rasterbar | |
parent | 93b63a2cabbd80a7c7727b447664714757defa6a (diff) | |
download | nixpkgs-cedd2ce2be48503407a96720f07a0a861d4378ab.tar nixpkgs-cedd2ce2be48503407a96720f07a0a861d4378ab.tar.gz nixpkgs-cedd2ce2be48503407a96720f07a0a861d4378ab.tar.bz2 nixpkgs-cedd2ce2be48503407a96720f07a0a861d4378ab.tar.lz nixpkgs-cedd2ce2be48503407a96720f07a0a861d4378ab.tar.xz nixpkgs-cedd2ce2be48503407a96720f07a0a861d4378ab.tar.zst nixpkgs-cedd2ce2be48503407a96720f07a0a861d4378ab.zip |
libtorrent-rasterbar: fix the path to the library in the CMake module
Diffstat (limited to 'pkgs/development/libraries/libtorrent-rasterbar')
-rw-r--r-- | pkgs/development/libraries/libtorrent-rasterbar/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libtorrent-rasterbar/default.nix b/pkgs/development/libraries/libtorrent-rasterbar/default.nix index 4ec70464e1a..83c84fac602 100644 --- a/pkgs/development/libraries/libtorrent-rasterbar/default.nix +++ b/pkgs/development/libraries/libtorrent-rasterbar/default.nix @@ -42,6 +42,11 @@ in stdenv.mkDerivation { moveToOutput "lib/${python.libPrefix}" "$python" ''; + postFixup = '' + substituteInPlace "$dev/lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarTargets-release.cmake" \ + --replace "\''${_IMPORT_PREFIX}/lib" "$out/lib" + ''; + outputs = [ "out" "dev" "python" ]; cmakeFlags = [ |