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