summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authorElliot Cameron <nixpkgs-commits@deshaw.com>2023-11-10 14:52:31 -0500
committerBjørn Forsman <bjorn.forsman@gmail.com>2023-11-11 19:34:54 +0100
commit3a99d1b6424cb4b9c431bec279ee6c832b16948f (patch)
tree038492c001a58f2cb9b3833a3b8eb61475345db2 /pkgs/development/python-modules/python-openstackclient
parent99298c3da07f53464bc1a24b4b7d0882f1acf060 (diff)
nix-prefetch-git: respect NETRC
This script needs to support being run both as part of a `fetchgit` derivation and as a standalone, command-line tool. The use of `$NIX_BUILD_TOP` only works when used in `fetchgit` but not when invoked as a standalone tool. Instead we try to respect `$NETRC` so that the command-line invocation behaves more like standard tools and the `fetchgit` derivation can explicitly set `$NETRC` when `netrcPhase` is used to avoid all ambiguity.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions