git.iko.soy/typeable/nixpkgs
on master help sign in
bash-completion: change attribute name

This changes the attribute name of bash-completion from `bashCompletion` to `bash-completion`. Keeps `bashCompletion` as an alias for the new name.

commite8817a2d20037b54ac9fe548c9f31d6e7c44bedf authorRobert Helgesson <robert@rycee.net> dateWed 28 Sep 2016, 17:46 (10 years ago) parentdbe350f
7 files changed+11−10
nixos/modules/programs/bash/bash.nix+1−1 pkgs/tools/audio/beets/default.nix+2−2 pkgs/tools/misc/colord/default.nix+2−2 pkgs/tools/package-management/createrepo_c/default.nix+2−2 pkgs/tools/package-management/packagekit/default.nix+2−2 pkgs/top-level/aliases.nix+1 pkgs/top-level/all-packages.nix+1−1
nixos/modules/programs/bash/bash.nix+1−1
@@ -16,7 +16,7 @@ let
1616 # programmable completion. If we do, enable all modules installed in
1717 # the system (and user profile).
1818 if shopt -q progcomp &>/dev/null; then
19− . "${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh"
19+ . "${pkgs.bash-completion}/etc/profile.d/bash_completion.sh"
2020 nullglobStatus=$(shopt -p nullglob)
2121 shopt -s nullglob
2222 for p in $NIX_PROFILES; do
pkgs/tools/audio/beets/default.nix+2−2
@@ -19,7 +19,7 @@
1919, enableAlternatives ? false
2020, enableCopyArtifacts ? false
2121
22−, bashInteractive, bashCompletion
22+, bashInteractive, bash-completion
2323}:
2424
2525assert enableAcoustid -> pythonPackages.pyacoustid != null;
@@ -70,7 +70,7 @@ let
7070 allEnabledPlugins = pluginsWithoutDeps ++ enabledOptionalPlugins;
7171
7272 testShell = "${bashInteractive}/bin/bash --norc";
73− completion = "${bashCompletion}/share/bash-completion/bash_completion";
73+ completion = "${bash-completion}/share/bash-completion/bash_completion";
7474
7575in pythonPackages.buildPythonApplication rec {
7676 name = "beets-${version}";
pkgs/tools/misc/colord/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, fetchgit, bashCompletion
1+{ stdenv, fetchzip, fetchgit, bash-completion
22, glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus
33, automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection, argyllcms
44, libgudev, sane-backends }:
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 '';
2929
3030 buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection
31− bashCompletion argyllcms automake autoconf libgudev sane-backends ];
31+ bash-completion argyllcms automake autoconf libgudev sane-backends ];
3232
3333 postInstall = ''
3434 mkdir -p $out/etc/bash_completion.d
pkgs/tools/package-management/createrepo_c/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkgconfig, bzip2, expat, glib, curl, libxml2, python, rpm, openssl, sqlite, file, xz, pcre, bashCompletion }:
1+{ stdenv, fetchFromGitHub, cmake, pkgconfig, bzip2, expat, glib, curl, libxml2, python, rpm, openssl, sqlite, file, xz, pcre, bash-completion }:
22
33stdenv.mkDerivation rec {
44 rev = "0.10.0";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 "set (PYTHON_INSTALL_DIR "$out/${python.sitePackages}")"
2323 '';
2424
25− buildInputs = [ cmake pkgconfig bzip2 expat glib curl libxml2 python rpm openssl sqlite file xz pcre bashCompletion ];
25+ buildInputs = [ cmake pkgconfig bzip2 expat glib curl libxml2 python rpm openssl sqlite file xz pcre bash-completion ];
2626
2727 meta = with stdenv.lib; {
2828 description = "C implementation of createrepo";
pkgs/tools/package-management/packagekit/default.nix+2−2
@@ -3,7 +3,7 @@
33, gobjectIntrospection, vala_0_23, gtk_doc, autoreconfHook, autoconf-archive
44, nix, boost
55, enableCommandNotFound ? false
6−, enableBashCompletion ? false, bashCompletion ? null }:
6+, enableBashCompletion ? false, bash-completion ? null }:
77
88stdenv.mkDerivation rec {
99 name = "packagekit-${version}";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 };
1818
1919 buildInputs = [ glib polkit systemd python gobjectIntrospection vala_0_23 ]
20− ++ lib.optional enableBashCompletion bashCompletion;
20+ ++ lib.optional enableBashCompletion bash-completion;
2121 propagatedBuildInputs = [ sqlite nix boost ];
2222 nativeBuildInputs = [ intltool pkgconfig autoreconfHook autoconf-archive gtk_doc ];
2323
pkgs/top-level/aliases.nix+1
@@ -24,6 +24,7 @@ doNotDisplayTwice rec {
2424 asciidocFull = asciidoc-full; # added 2014-06-22
2525 bar = lemonbar; # added 2015-01-16
2626 bar-xft = lemonbar-xft; # added 2015-01-16
27+ bashCompletion = bash-completion; # Added 2016-09-28
2728 bridge_utils = bridge-utils; # added 2015-02-20
2829 btrfsProgs = btrfs-progs; # added 2016-01-03
2930 bundler_HEAD = bundler; # added 2015-11-15
pkgs/top-level/all-packages.nix+1−1
@@ -4333,7 +4333,7 @@ in
43334333 interactive = true;
43344334 });
43354335
4336− bashCompletion = callPackage ../shells/bash-completion { };
4336+ bash-completion = callPackage ../shells/bash-completion { };
43374337
43384338 dash = callPackage ../shells/dash { };
43394339