build-support/fetchpijul: Add cacert dependency and set impureEnvVars
This commit is contained in:
parent
23eb27c2d8
commit
bf3fb8a255
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenvNoCC, pijul }:
|
{ lib, stdenvNoCC, pijul, cacert }:
|
||||||
|
|
||||||
lib.makeOverridable (
|
lib.makeOverridable (
|
||||||
{ url
|
{ url
|
||||||
@ -17,7 +17,7 @@ if change != null && state != null then
|
|||||||
else
|
else
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
nativeBuildInputs = [ pijul ];
|
nativeBuildInputs = [ pijul cacert ];
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
@ -52,5 +52,7 @@ else
|
|||||||
lib.fakeSha256;
|
lib.fakeSha256;
|
||||||
|
|
||||||
inherit url change state channel;
|
inherit url change state channel;
|
||||||
|
|
||||||
|
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user