3
0
Fork 0
forked from mirrors/nixpkgs

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 ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ libbsd ]; buildInputs = [ libbsd ];
preInstall = '' postPatch = ''
export PREFIX=$out substituteInPlace Makefile --replace "shell pkg-config" "shell $PKG_CONFIG"
''; '';
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; { meta = with lib; {
description = "OpenBSD signing tool"; description = "OpenBSD signing tool";
longDescription = '' longDescription = ''