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 12:41:18 +00:00
committed by Jörg Thalheim
parent cff9e6429a
commit 46420bbaa3
4616 changed files with 5674 additions and 6081 deletions

View File

@@ -88,7 +88,7 @@ let
'';
fish = stdenv.mkDerivation rec {
name = "fish-${version}";
pname = "fish";
version = "3.0.2";
etcConfigAppendix = builtins.toFile "etc-config.appendix.fish" etcConfigAppendixText;
@@ -96,7 +96,7 @@ let
src = fetchurl {
# There are differences between the release tarball and the tarball github packages from the tag
# Hence we cannot use fetchFromGithub
url = "https://github.com/fish-shell/fish-shell/releases/download/${version}/${name}.tar.gz";
url = "https://github.com/fish-shell/fish-shell/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "03j3jl9jzlnhq4p86zj8wqsh5sx45j1d1fvfa80ks1cfdg68qwhl";
};

View File

@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, gnused, bash, coreutils }:
stdenv.mkDerivation rec {
name = "fish-foreign-env-${version}";
pname = "fish-foreign-env";
version = "git-20170324";
src = fetchFromGitHub {