aboutsummaryrefslogtreecommitdiffhomepage
path: root/nodegit
diff options
context:
space:
mode:
Diffstat (limited to 'nodegit')
-rw-r--r--nodegit/default.nix14
1 files changed, 4 insertions, 10 deletions
diff --git a/nodegit/default.nix b/nodegit/default.nix
index aee9fcf..83d734a 100644
--- a/nodegit/default.nix
+++ b/nodegit/default.nix
@@ -1,23 +1,17 @@
1{ pkgs }: 1{ stdenv, fetchurl, curl, glibc, openssl }:
2 2
3let 3let
4 version = "0.20.3"; 4 version = "0.20.3";
5 5
6 stdenv = pkgs.stdenv; 6 curlWithGnutls = curl.override {
7 fetchurl = pkgs.fetchurl;
8
9 curl = pkgs.curl.override {
10 sslSupport = false; 7 sslSupport = false;
11 gnutlsSupport = true; 8 gnutlsSupport = true;
12 }; 9 };
13 glibc = pkgs.glibc;
14 openssl = pkgs.openssl;
15
16 libs = [ stdenv.cc.cc curl glibc openssl ];
17 10
11 libs = [ stdenv.cc.cc curlWithGnutls glibc openssl ];
18in 12in
19 13
20 assert pkgs.stdenv.system == "x86_64-linux"; 14 assert stdenv.system == "x86_64-linux";
21 15
22 stdenv.mkDerivation { 16 stdenv.mkDerivation {
23 name = "nodegit-${version}-node-v51"; 17 name = "nodegit-${version}-node-v51";