Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 37 additions & 19 deletions tools/nix/sharedLibDeps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,43 @@
// (pkgs.lib.optionalAttrs withSQLite {
inherit (pkgs) sqlite;
})
// (pkgs.lib.optionalAttrs withSSL {
openssl = pkgs.openssl.overrideAttrs (old: {
version = "3.5.4";
src = pkgs.fetchurl {
url = builtins.replaceStrings [ old.version ] [ "3.5.4" ] old.src.url;
hash = "sha256-lnMR+ElVMWlpvbHY1LmDcY70IzhjnGIexMNP3e81Xpk=";
};
doCheck = false;
configureFlags = (old.configureFlags or [ ]) ++ [
"no-docs"
"no-tests"
];
outputs = [
"bin"
"out"
"dev"
];
});
})
// (pkgs.lib.optionalAttrs withSSL (
let
version = "3.5.5";
opensslSrc = "/pkgs/development/libraries/openssl/";
inherit
(pkgs.callPackage "${
pkgs.fetchgit {
url = "https://github.com/NixOS/nixpkgs.git";
rev = "a5b50d31e0fd60227495ad2b2760cbda3581ec77";
sparseCheckout = [ opensslSrc ];
nonConeMode = true;
hash = "sha256-Qo3IoUeccGO2GxFSYufyYjZmN5LGSek0z82pN73YXic=";
}
}${opensslSrc}" { })
openssl_3_6
;
in
{
openssl = openssl_3_6.overrideAttrs (old: {
inherit version;
src = pkgs.fetchurl {
url = builtins.replaceStrings [ old.version ] [ version ] old.src.url;
hash = "sha256-soyRUyqLZaH5g7TCi3SIF05KAQCOKc6Oab14nyi8Kok=";
};
doCheck = false;
configureFlags = (old.configureFlags or [ ]) ++ [
"no-docs"
"no-tests"
];
outputs = [
"bin"
"out"
"dev"
];
});
}
))
// (pkgs.lib.optionalAttrs withTemporal {
inherit (pkgs) temporal_capi;
})