mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
* Allow extra parameters to be passed to Curl through the `CURL_FLAGS'
environment variable. This is useful for passing authentication information (it won't show up in `ps'). Hacky - nix-push should abstract over the use of Curl.
This commit is contained in:
parent
2c5a8bf49f
commit
7cce0c34e1
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ my $manifest = "$tmpdir/MANIFEST";
|
|||
|
||||
END { unlink $manifest; unlink $nixfile; rmdir $tmpdir; }
|
||||
|
||||
my $curl = "@curl@ --fail --silent";
|
||||
my $curl = "@curl@ --fail --silent ${ENV{'CURL_FLAGS'}}";
|
||||
|
||||
|
||||
# Parse the command line.
|
||||
|
|
Loading…
Reference in a new issue