hareThirdParty.hare-ssh: make use of hareHook

This commit is contained in:
Coutinho de Souza 2024-05-23 20:07:53 -03:00
parent f3057406bf
commit 49ba155c4a
No known key found for this signature in database
GPG Key ID: 59081FCB8F9AABB5

View File

@ -1,6 +1,6 @@
{
fetchFromSourcehut,
hare,
hareHook,
lib,
stdenv,
}:
@ -16,12 +16,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-I43TLPoImBsvkgV3hDy9dw0pXVt4ezINnxFtEV9P2/M=";
};
nativeBuildInputs = [ hare ];
nativeBuildInputs = [ hareHook ];
makeFlags = [
"PREFIX=${builtins.placeholder "out"}"
"HARECACHE=.harecache"
];
makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
doCheck = true;
@ -31,6 +28,6 @@ stdenv.mkDerivation (finalAttrs: {
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ patwid ];
inherit (hare.meta) platforms badPlatforms;
inherit (hareHook.meta) platforms badPlatforms;
};
})