mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +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
|
||||
, gnugrep
|
||||
, gawk
|
||||
, cacert
|
||||
}:
|
||||
|
||||
runCommandLocal "nuget-to-nix" {
|
||||
script = substituteAll {
|
||||
src = ./nuget-to-nix.sh;
|
||||
inherit runtimeShell;
|
||||
inherit runtimeShell cacert;
|
||||
|
||||
binPath = lib.makeBinPath [
|
||||
nix
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user