treewide: name -> pname (easy cases) (#66585)

treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
This commit is contained in:
volth
2019-08-15 13:41:18 +01:00
committed by Jörg Thalheim
parent cff9e6429a
commit 46420bbaa3
4616 changed files with 5674 additions and 6081 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ let
in
with stdenv.lib;
stdenv.mkDerivation rec {
name = "openssh-${version}";
pname = "openssh";
version = if hpnSupport then "7.8p1" else "7.9p1";
src = if hpnSupport then
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
}
else
fetchurl {
url = "mirror://openbsd/OpenSSH/portable/${name}.tar.gz";
url = "mirror://openbsd/OpenSSH/portable/${pname}-${version}.tar.gz";
sha256 = "1b8sy6v0b8v4ggmknwcqx3y1rjcpsll0f1f8f4vyv11x4ni3njvb";
};