aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-12-30 00:33:21 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-12-30 00:33:21 +0100
commit02bf0d911c2f7b100e22f9d9fd0b1b6b39274293 (patch)
tree5c9e6abab32d12ff1f359ec5df913b457d95e459
parentdc10144003f159e8de99c82f4195587fef64cd46 (diff)
downloadNix-02bf0d911c2f7b100e22f9d9fd0b1b6b39274293.tar.gz
Nix-02bf0d911c2f7b100e22f9d9fd0b1b6b39274293.tar.zst
Nix-02bf0d911c2f7b100e22f9d9fd0b1b6b39274293.zip
Add cacert as dependency when building private git
-rw-r--r--default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/default.nix b/default.nix
index c32d23f..7580431 100644
--- a/default.nix
+++ b/default.nix
@@ -244,8 +244,8 @@ let
244 244
245 mastodon = stdenv.mkDerivation (fetchedGithub ./fetched/mastodon.json // rec { 245 mastodon = stdenv.mkDerivation (fetchedGithub ./fetched/mastodon.json // rec {
246 buildPhase = '' 246 buildPhase = ''
247 export GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt 247 export GIT_SSL_CAINFO=${cacert}/etc/ssl/certs/ca-bundle.crt
248 export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt 248 export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
249 249
250 bundle install --deployment --without development test 250 bundle install --deployment --without development test
251 yarn install --pure-lockfile 251 yarn install --pure-lockfile
@@ -258,7 +258,7 @@ let
258 protobuf protobufc libidn libpqxx nodejs 258 protobuf protobufc libidn libpqxx nodejs
259 imagemagick ffmpeg libxml2 libxslt pkgconfig 259 imagemagick ffmpeg libxml2 libxslt pkgconfig
260 autoconf bison libyaml readline ncurses libffi gdbm 260 autoconf bison libyaml readline ncurses libffi gdbm
261 jemalloc which postgresql python3 261 jemalloc which postgresql python3 cacert
262 ]; 262 ];
263 }); 263 });
264# https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh 264# https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh