diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-10-30 10:19:33 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-10-30 10:22:58 +0100 |
commit | 23ce4b33932260ad1f1bca4978ea274a1da1e0ad (patch) | |
tree | eb427d369c990c7aefc2dab926a50f8da74aca1a /src/nix-env/user-env.cc | |
parent | 66ddbef7547a2b5430c6d87e2d8d52977f7bf6f0 (diff) |
fetchTarball: Use "source" as the default name
This ensures that it produces the same output as fetchgit:
$ nix eval --raw '(builtins.fetchgit https://github.com/NixOS/patchelf.git)'
/nix/store/ghigrkw02l440g8vfxa9wj4c3zpfmw99-source
$ nix eval --raw '(fetchTarball https://github.com/NixOS/patchelf/archive/master.tar.gz)'
/nix/store/ghigrkw02l440g8vfxa9wj4c3zpfmw99-source
Diffstat (limited to 'src/nix-env/user-env.cc')
0 files changed, 0 insertions, 0 deletions