Skip to content

Commit

Permalink
Merge pull request #234219 from reckenrode/libssh-darwin-stdenv-fix
Browse files Browse the repository at this point in the history
libssh: fix build with newer clang
  • Loading branch information
wegank authored May 26, 2023
2 parents c3f8494 + 50d1922 commit 239790c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/libssh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c
'';

# Don’t build examples, which are not installed and require additional dependencies not
# included in `buildInputs` such as libX11.
cmakeFlags = [ "-DWITH_EXAMPLES=OFF" ];

# single output, otherwise cmake and .pc files point to the wrong directory
# outputs = [ "out" "dev" ];

Expand Down

0 comments on commit 239790c

Please sign in to comment.