Skip to content

Commit

Permalink
builds
Browse files Browse the repository at this point in the history
  • Loading branch information
flandweber committed Jan 20, 2024
1 parent b56af8a commit 1e7c1c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 4 additions & 1 deletion hlibgit2/configure
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
set -e

rm -rf libgit2
git clone https://github.com/libgit2/libgit2.git libgit2
cd libgit2
git checkout 45fd9ed7ae1a9b74b957ef4f337bc3c8b3df01b5

cmake . \
-D USE_NTLMCLIENT=OFF
-D USE_NTLMCLIENT=OFF \
-D BUILD_TESTS=OFF \
-D USE_HTTPS=system

cd ..

Expand Down
2 changes: 1 addition & 1 deletion hlibgit2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ let
'';
};
in
pkgs.haskellPackages.callCabal2nix "hlibgit2" hlibgit2-src {git = pkgs.git;}
pkgs.haskellPackages.callCabal2nix "hlibgit2" ./. {inherit (pkgs) git;}
5 changes: 3 additions & 2 deletions hlibgit2/hlibgit2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Build-Type: Configure
Category: FFI

extra-source-files:
libgit2/**/*.h
libgit2/**/*.c
--libgit2/**/*.h
--libgit2/**/*.c
libgit2/COPYING
configure

Expand Down Expand Up @@ -406,3 +406,4 @@ Library
/usr/local/opt/openssl/lib
extra-libraries:
ssl, crypto, pthread, pcre
--, libgit2

0 comments on commit 1e7c1c1

Please sign in to comment.