Merge pull request #161176 from a-m-joseph/signify-crosscompile

This commit is contained in:
Artturi
2022-02-23 17:28:23 +02:00
committed by GitHub
+4 -2
View File
@@ -16,10 +16,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libbsd ];
preInstall = ''
export PREFIX=$out
postPatch = ''
substituteInPlace Makefile --replace "shell pkg-config" "shell $PKG_CONFIG"
'';
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "OpenBSD signing tool";
longDescription = ''