treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user