Merge pull request #161176 from a-m-joseph/signify-crosscompile
commit3e7847061787ddcb8c33abc035f6effb801f05c9
authorArtturi <Artturin@artturin.com>
dateWed 23 Feb 2022, 17:28 (5 years ago)
parent16d11711986e43
pkgs/tools/security/signify/default.nix+4−2
@@ -16,10 +16,12 @@ stdenv.mkDerivation rec {
1616 nativeBuildInputs = [ pkg-config ];
1717 buildInputs = [ libbsd ];
1818
19− preInstall = ''
20− export PREFIX=$out
19+ postPatch = ''
20+ substituteInPlace Makefile --replace "shell pkg-config" "shell $PKG_CONFIG"
2121 '';
2222
23+ installFlags = [ "PREFIX=$(out)" ];
24+
2325 meta = with lib; {
2426 description = "OpenBSD signing tool";
2527 longDescription = ''