libblake3: split dev outputs from runtime (#417077)
This commit is contained in:
@@ -13,6 +13,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libblake3";
|
||||
version = "1.8.2";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BLAKE3-team";
|
||||
repo = "BLAKE3";
|
||||
|
||||
@@ -111,7 +111,7 @@ let
|
||||
"shadowstack"
|
||||
] ++ lib.optional stdenv.hostPlatform.isMusl "fortify";
|
||||
|
||||
nativeInstallCheckInputs = lib.optional atLeast224 [
|
||||
nativeInstallCheckInputs = lib.optionals atLeast224 [
|
||||
git
|
||||
man
|
||||
];
|
||||
|
||||
@@ -27,9 +27,7 @@ mkMesonLibrary (finalAttrs: {
|
||||
[
|
||||
brotli
|
||||
]
|
||||
++ lib.optional (lib.versionAtLeast version "2.27") [
|
||||
libblake3
|
||||
]
|
||||
++ lib.optional (lib.versionAtLeast version "2.27") libblake3
|
||||
++ [
|
||||
libsodium
|
||||
openssl
|
||||
|
||||
Reference in New Issue
Block a user