aboutsummaryrefslogtreecommitdiff
path: root/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-10-30 09:57:38 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-10-30 10:22:07 +0100
commit65b5f177b5fbb1b0778ede047a13a3cee9c59cfe (patch)
treecc5ba83c50ae5d528cd1c4c4770b9b66f3e1878a /local.mk
parentc1ae18941a222d51a47d4971f4bc4cbc5dea449a (diff)
builtins.fetchgit: Support a "name" attribute
The "name" attribute defaults to "source", which we should use for all similar functions (e.g. fetchTarball and in Hydra) to ensure that we get a consistent store path regardless of how the tree is fetched. "source" is not necessarily a correct label, but using an empty name is problematic: you get an ugly store path ending in a dash, and it's impossible to have a fixed-output derivation that produces that path because ".drv" is not a valid store name. Fixes #904.
Diffstat (limited to 'local.mk')
0 files changed, 0 insertions, 0 deletions