Skip to content

Commit

Permalink
Merge pull request #272520 from nrabulinski/fix-fetchpijul
Browse files Browse the repository at this point in the history
build-support/fetchpijul: Add cacert dependency, set impureEnvVars, and enable strictDeps
  • Loading branch information
pbsds authored Jan 4, 2024
2 parents d68bd47 + b9c45ec commit 73148fa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/build-support/fetchpijul/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenvNoCC, pijul }:
{ lib, stdenvNoCC, pijul, cacert }:

lib.makeOverridable (
{ url
Expand All @@ -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;
Expand Down Expand Up @@ -52,5 +53,7 @@ else
lib.fakeSha256;

inherit url change state channel;

impureEnvVars = lib.fetchers.proxyImpureEnvVars;
}
)

0 comments on commit 73148fa

Please sign in to comment.