mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 12:39:54 +03:00
lomiri.trust-store: Fix references variable in pkg-config
This commit is contained in:
parent
33fc340c95
commit
425c8101a9
@ -44,12 +44,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
# pkg-config patching hook expects prefix variable
|
# pkg-config patching hook expects prefix variable
|
||||||
substituteInPlace data/trust-store.pc.in \
|
substituteInPlace data/trust-store.pc.in \
|
||||||
--replace 'includedir=''${exec_prefix}' 'includedir=''${prefix}'
|
--replace-fail 'libdir=''${exec_prefix}' 'libdir=''${prefix}' \
|
||||||
|
--replace-fail 'includedir=''${exec_prefix}' 'includedir=''${prefix}'
|
||||||
|
|
||||||
substituteInPlace src/core/trust/terminal_agent.h \
|
substituteInPlace src/core/trust/terminal_agent.h \
|
||||||
--replace '/bin/whiptail' '${lib.getExe' newt "whiptail"}'
|
--replace-fail '/bin/whiptail' '${lib.getExe' newt "whiptail"}'
|
||||||
'' + lib.optionalString (!finalAttrs.doCheck) ''
|
'' + lib.optionalString (!finalAttrs.doCheck) ''
|
||||||
sed -i CMakeLists.txt -e '/add_subdirectory(tests)/d'
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace-fail 'add_subdirectory(tests)' ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user