mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
libxslt: fixup cmake so it can properly find lib outputs
(cherry picked from commit 02ddf0a084)
This commit is contained in:
committed by
github-actions[bot]
parent
5c2688a6a2
commit
b0bed0e05f
@@ -78,6 +78,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
postFixup = ''
|
||||
moveToOutput bin/xslt-config "$dev"
|
||||
moveToOutput lib/xsltConf.sh "$dev"
|
||||
|
||||
substituteInPlace "$dev/lib/cmake/libxslt/libxslt-config.cmake" \
|
||||
--replace-fail '"''${PACKAGE_PREFIX_DIR}/lib"' "\"$out/lib\""
|
||||
''
|
||||
+ lib.optionalString pythonSupport ''
|
||||
mkdir -p $py/nix-support
|
||||
|
||||
Reference in New Issue
Block a user