Skip to content

Commit

Permalink
lomiri.trust-store: fix build for glog 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
superherointj committed Oct 17, 2024
1 parent 3781a1e commit 7d47e40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/desktops/lomiri/development/trust-store/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ stdenv.mkDerivation (finalAttrs: {
];

postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "option(ENABLE_WERROR \"Treat all build warnings as errors\" ON)" \
"option(ENABLE_WERROR \"Treat all build warnings as errors\" ON)
add_compile_definitions(GLOG_USE_GLOG_EXPORT)"
# pkg-config patching hook expects prefix variable
substituteInPlace data/trust-store.pc.in \
--replace-fail 'libdir=''${exec_prefix}' 'libdir=''${prefix}' \
Expand Down

0 comments on commit 7d47e40

Please sign in to comment.