Merge pull request #231356 from trofi/libssh-dev-output

libssh: split headers to "dev" output
This commit is contained in:
Sergei Trofimovich
2023-05-17 07:31:02 +01:00
committed by GitHub

View File

@@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-tg4v9/Nnue7itWNNOmMwPd/t4OahjfyojESodw5+QjQ=";
};
outputs = [ "out" "dev" ];
postPatch = ''
# Fix headers to use libsodium instead of NaCl
sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c