mkPythonDerivation: let name default to ${pname}-${version}

(cherry picked from commit 78ed9da5e4)
This commit is contained in:
Orivej Desh
2017-11-03 04:14:22 +00:00
committed by Bas van Dijk
parent 8ec292d959
commit 2863c405ff

View File

@@ -8,7 +8,7 @@
, ensureNewerSourcesHook
}:
{ name
{ name ? "${attrs.pname}-${attrs.version}"
# by default prefix `name` e.g. "python3.3-${name}"
, namePrefix ? python.libPrefix + "-"