mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
mkPythonDerivation: let name default to ${pname}-${version}
This commit is contained in:
parent
cfafd6f5a8
commit
78ed9da5e4
@ -8,7 +8,7 @@
|
||||
, ensureNewerSourcesHook
|
||||
}:
|
||||
|
||||
{ name
|
||||
{ name ? "${attrs.pname}-${attrs.version}"
|
||||
|
||||
# by default prefix `name` e.g. "python3.3-${name}"
|
||||
, namePrefix ? python.libPrefix + "-"
|
||||
|
Loading…
Reference in New Issue
Block a user