build-support/fetchpijul: Add cacert dependency and set impureEnvVars

This commit is contained in:
Nikodem Rabuliński 2023-12-06 18:35:20 +01:00
parent 23eb27c2d8
commit bf3fb8a255
No known key found for this signature in database

View File

@ -1,4 +1,4 @@
{ lib, stdenvNoCC, pijul }:
{ lib, stdenvNoCC, pijul, cacert }:
lib.makeOverridable (
{ url
@ -17,7 +17,7 @@ if change != null && state != null then
else
stdenvNoCC.mkDerivation {
inherit name;
nativeBuildInputs = [ pijul ];
nativeBuildInputs = [ pijul cacert ];
dontUnpack = true;
dontConfigure = true;
@ -52,5 +52,7 @@ else
lib.fakeSha256;
inherit url change state channel;
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
}
)