signify: allow cross-compilation
This commit is contained in:
parent
65c8149cb1
commit
1986e43243
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue