git.iko.soy/typeable/nixpkgs
on master help sign in
signify: allow cross-compilation
commit1986e432438ec82092dbf5c56e97ca340de511f7 authorAdam Joseph <adam@westernsemico.com> dateSun 20 Feb 2022, 22:59 (5 years ago) parent65c8149
1 file changed+4−2
pkgs/tools/security/signify/default.nix+4−2
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 = ''