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

This commit is contained in:
Orivej Desh 2017-11-03 04:14:22 +00:00
parent cfafd6f5a8
commit 78ed9da5e4

View File

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