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
commit 3e78470617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = ''