mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
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 New Issue
Block a user