mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #272520 from nrabulinski/fix-fetchpijul
build-support/fetchpijul: Add cacert dependency, set impureEnvVars, and enable strictDeps
This commit is contained in:
commit
73148fa5a8
|
@ -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;
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue