Merge pull request #272520 from nrabulinski/fix-fetchpijul

build-support/fetchpijul: Add cacert dependency, set impureEnvVars, and enable strictDeps
This commit is contained in:
Peder Bergebakken Sundt 2024-01-05 00:51:05 +01:00 committed by GitHub
commit 73148fa5a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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