From e4235192047a058776b3680f559579bf885881da Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Wed, 2 Aug 2023 19:20:45 +0200 Subject: osquery: fix openssl src hash permanently It seems bothersome having to update it on every openssl_1_1 update. --- pkgs/tools/system/osquery/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/tools/system/osquery') diff --git a/pkgs/tools/system/osquery/default.nix b/pkgs/tools/system/osquery/default.nix index 6c6d0b45e2a13..a7c8f18214fa5 100644 --- a/pkgs/tools/system/osquery/default.nix +++ b/pkgs/tools/system/osquery/default.nix @@ -51,7 +51,9 @@ buildStdenv.mkDerivation rec { # which provides the ARC4RANDOM_BUF function substituteInPlace libraries/cmake/source/libarchive/CMakeLists.txt --replace " target_compile_definitions(thirdparty_libarchive PRIVATE" " target_compile_definitions(thirdparty_libarchive PRIVATE HAVE_ARC4RANDOM_BUF" # We need to override this hash because we use our own openssl 1.1 version - substituteInPlace libraries/cmake/formula/openssl/CMakeLists.txt --replace "d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" "e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6" + substituteInPlace libraries/cmake/formula/openssl/CMakeLists.txt --replace \ + "d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" \ + "$(sha256sum ${openssl_1_1.src} | cut -f1 '-d ')" cat libraries/cmake/formula/openssl/CMakeLists.txt ''; -- cgit 1.4.1