mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-26 10:30:32 +00:00
mkPythonDerivation: let name default to ${pname}-${version}
(cherry picked from commit 78ed9da5e4)
This commit is contained in:
committed by
Bas van Dijk
parent
8ec292d959
commit
2863c405ff
@@ -8,7 +8,7 @@
|
||||
, ensureNewerSourcesHook
|
||||
}:
|
||||
|
||||
{ name
|
||||
{ name ? "${attrs.pname}-${attrs.version}"
|
||||
|
||||
# by default prefix `name` e.g. "python3.3-${name}"
|
||||
, namePrefix ? python.libPrefix + "-"
|
||||
|
||||
Reference in New Issue
Block a user