mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
nuget-to-nix: set SSL_CERT_FILE
This is required for curl.
This commit is contained in:
parent
1d4d0d3db7
commit
60d3a7d230
@ -9,12 +9,13 @@
|
|||||||
, curl
|
, curl
|
||||||
, gnugrep
|
, gnugrep
|
||||||
, gawk
|
, gawk
|
||||||
|
, cacert
|
||||||
}:
|
}:
|
||||||
|
|
||||||
runCommandLocal "nuget-to-nix" {
|
runCommandLocal "nuget-to-nix" {
|
||||||
script = substituteAll {
|
script = substituteAll {
|
||||||
src = ./nuget-to-nix.sh;
|
src = ./nuget-to-nix.sh;
|
||||||
inherit runtimeShell;
|
inherit runtimeShell cacert;
|
||||||
|
|
||||||
binPath = lib.makeBinPath [
|
binPath = lib.makeBinPath [
|
||||||
nix
|
nix
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
|
export SSL_CERT_FILE=@cacert@/etc/ssl/certs/ca-bundle.crt
|
||||||
export PATH="@binPath@:$PATH"
|
export PATH="@binPath@:$PATH"
|
||||||
# used for glob ordering of package names
|
# used for glob ordering of package names
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
Loading…
Reference in New Issue
Block a user