diff options
author | volth <volth@volth.com> | 2019-08-15 12:41:18 +0000 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2019-08-15 13:41:18 +0100 |
commit | 46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6 (patch) | |
tree | 46b871987347acf0215f8a9bf54df275aed9c496 /pkgs/shells/bash | |
parent | cff9e6429a4341e924594f5e057b03ca8101b314 (diff) |
treewide: name -> pname (easy cases) (#66585)
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
Diffstat (limited to 'pkgs/shells/bash')
-rw-r--r-- | pkgs/shells/bash/bash-completion/default.nix | 4 | ||||
-rw-r--r-- | pkgs/shells/bash/nix-bash-completions/default.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/shells/bash/bash-completion/default.nix b/pkgs/shells/bash/bash-completion/default.nix index b5f600da8f7e9..0476cbd1f3f7a 100644 --- a/pkgs/shells/bash/bash-completion/default.nix +++ b/pkgs/shells/bash/bash-completion/default.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "bash-completion-${version}"; + pname = "bash-completion"; version = "2.8"; src = fetchurl { - url = "https://github.com/scop/bash-completion/releases/download/${version}/${name}.tar.xz"; + url = "https://github.com/scop/bash-completion/releases/download/${version}/${pname}-${version}.tar.xz"; sha256 = "0kgmflrr1ga9wfk770vmakna3nj46ylb5ky9ipd0v2k9ymq5a7y0"; }; diff --git a/pkgs/shells/bash/nix-bash-completions/default.nix b/pkgs/shells/bash/nix-bash-completions/default.nix index 5ac117cf1e5e7..affbd21995863 100644 --- a/pkgs/shells/bash/nix-bash-completions/default.nix +++ b/pkgs/shells/bash/nix-bash-completions/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { version = "0.6.7"; - name = "nix-bash-completions-${version}"; + pname = "nix-bash-completions"; src = fetchFromGitHub { owner = "hedning"; |