nuget-to-nix: set SSL_CERT_FILE

This is required for curl.
This commit is contained in:
David McFarland 2024-09-08 00:04:27 -03:00
parent 1d4d0d3db7
commit 60d3a7d230
2 changed files with 3 additions and 1 deletions

View File

@ -9,12 +9,13 @@
, curl
, gnugrep
, gawk
, cacert
}:
runCommandLocal "nuget-to-nix" {
script = substituteAll {
src = ./nuget-to-nix.sh;
inherit runtimeShell;
inherit runtimeShell cacert;
binPath = lib.makeBinPath [
nix

View File

@ -3,6 +3,7 @@
set -euo pipefail
shopt -s nullglob
export SSL_CERT_FILE=@cacert@/etc/ssl/certs/ca-bundle.crt
export PATH="@binPath@:$PATH"
# used for glob ordering of package names
export LC_ALL=C