lol

plasma54: don't override mkDerivation

Provides a globally unique name (plasmaPackage) instead of using
attribute paths as namespaces and locally overloading the mkDerivation
name.

+67 -68
+2 -2
pkgs/desktops/plasma-5.4/bluedevil.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , bluez-qt 4 , kcoreaddons ··· 15 , shared_mime_info 16 }: 17 18 - mkDerivation { 19 name = "bluedevil"; 20 nativeBuildInputs = [ extra-cmake-modules shared_mime_info ]; 21 buildInputs = [
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , bluez-qt 4 , kcoreaddons ··· 15 , shared_mime_info 16 }: 17 18 + plasmaPackage { 19 name = "bluedevil"; 20 nativeBuildInputs = [ extra-cmake-modules shared_mime_info ]; 21 buildInputs = [
+2 -2
pkgs/desktops/plasma-5.4/breeze-qt4.nix
··· 1 - { mkDerivation 2 , automoc4 3 , cmake 4 , perl ··· 8 , xproto 9 }: 10 11 - mkDerivation { 12 name = "breeze-qt4"; 13 sname = "breeze"; 14 buildInputs = [
··· 1 + { plasmaPackage 2 , automoc4 3 , cmake 4 , perl ··· 8 , xproto 9 }: 10 11 + plasmaPackage { 12 name = "breeze-qt4"; 13 sname = "breeze"; 14 buildInputs = [
+2 -2
pkgs/desktops/plasma-5.4/breeze-qt5.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , frameworkintegration 4 , kcmutils ··· 11 , qtx11extras 12 }: 13 14 - mkDerivation { 15 name = "breeze-qt5"; 16 sname = "breeze"; 17 nativeBuildInputs = [
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , frameworkintegration 4 , kcmutils ··· 11 , qtx11extras 12 }: 13 14 + plasmaPackage { 15 name = "breeze-qt5"; 16 sname = "breeze"; 17 nativeBuildInputs = [
+3 -4
pkgs/desktops/plasma-5.4/default.nix
··· 17 srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; }; 18 mirror = "mirror://kde"; 19 20 - mkDerivation = args: 21 let 22 - inherit (stdenv) mkDerivation; 23 inherit (args) name; 24 sname = args.sname or name; 25 inherit (srcs."${sname}") src version; 26 - in mkDerivation (args // { 27 name = "${name}-${version}"; 28 inherit src; 29 ··· 82 systemsettings = callPackage ./systemsettings.nix {}; 83 }; 84 85 - newScope = scope: kdeApps.newScope ({ inherit mkDerivation; } // scope); 86 87 in lib.makeScope newScope addPackages
··· 17 srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; }; 18 mirror = "mirror://kde"; 19 20 + plasmaPackage = args: 21 let 22 inherit (args) name; 23 sname = args.sname or name; 24 inherit (srcs."${sname}") src version; 25 + in stdenv.mkDerivation (args // { 26 name = "${name}-${version}"; 27 inherit src; 28 ··· 81 systemsettings = callPackage ./systemsettings.nix {}; 82 }; 83 84 + newScope = scope: kdeApps.newScope ({ inherit plasmaPackage; } // scope); 85 86 in lib.makeScope newScope addPackages
+2 -2
pkgs/desktops/plasma-5.4/kde-cli-tools.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kcmutils 4 , kconfig ··· 12 , qtx11extras 13 }: 14 15 - mkDerivation { 16 name = "kde-cli-tools"; 17 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 18 buildInputs = [
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kcmutils 4 , kconfig ··· 12 , qtx11extras 13 }: 14 15 + plasmaPackage { 16 name = "kde-cli-tools"; 17 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 18 buildInputs = [
+2 -2
pkgs/desktops/plasma-5.4/kde-gtk-config.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , glib 4 , gtk2 ··· 12 , knewstuff 13 }: 14 15 - mkDerivation { 16 name = "kde-gtk-config"; 17 nativeBuildInputs = [ extra-cmake-modules ]; 18 buildInputs = [
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , glib 4 , gtk2 ··· 12 , knewstuff 13 }: 14 15 + plasmaPackage { 16 name = "kde-gtk-config"; 17 nativeBuildInputs = [ extra-cmake-modules ]; 18 buildInputs = [
+2 -2
pkgs/desktops/plasma-5.4/kdecoration.nix
··· 1 - { mkDerivation, extra-cmake-modules }: 2 3 - mkDerivation { 4 name = "kdecoration"; 5 nativeBuildInputs = [ extra-cmake-modules ]; 6 }
··· 1 + { plasmaPackage, extra-cmake-modules }: 2 3 + plasmaPackage { 4 name = "kdecoration"; 5 nativeBuildInputs = [ extra-cmake-modules ]; 6 }
+2 -2
pkgs/desktops/plasma-5.4/kdeplasma-addons.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , ibus ··· 19 , qtx11extras 20 }: 21 22 - mkDerivation { 23 name = "kdeplasma-addons"; 24 nativeBuildInputs = [ 25 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , ibus ··· 19 , qtx11extras 20 }: 21 22 + plasmaPackage { 23 name = "kdeplasma-addons"; 24 nativeBuildInputs = [ 25 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/kgamma5.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , kdelibs4support 5 , qtx11extras 6 }: 7 8 - mkDerivation { 9 name = "kgamma5"; 10 nativeBuildInputs = [ 11 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , kdelibs4support 5 , qtx11extras 6 }: 7 8 + plasmaPackage { 9 name = "kgamma5"; 10 nativeBuildInputs = [ 11 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/khelpcenter.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , kconfig ··· 12 , kservice 13 }: 14 15 - mkDerivation { 16 name = "khelpcenter"; 17 nativeBuildInputs = [ 18 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , kconfig ··· 12 , kservice 13 }: 14 15 + plasmaPackage { 16 name = "khelpcenter"; 17 nativeBuildInputs = [ 18 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/khotkeys.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , kcmutils ··· 13 , qtx11extras 14 }: 15 16 - mkDerivation { 17 name = "khotkeys"; 18 nativeBuildInputs = [ 19 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , kcmutils ··· 13 , qtx11extras 14 }: 15 16 + plasmaPackage { 17 name = "khotkeys"; 18 nativeBuildInputs = [ 19 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/kinfocenter.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , kcmutils ··· 21 , solid 22 }: 23 24 - mkDerivation { 25 name = "kinfocenter"; 26 nativeBuildInputs = [ 27 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , kcmutils ··· 21 , solid 22 }: 23 24 + plasmaPackage { 25 name = "kinfocenter"; 26 nativeBuildInputs = [ 27 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/kmenuedit.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , ki18n ··· 10 , kdelibs4support 11 }: 12 13 - mkDerivation { 14 name = "kmenuedit"; 15 nativeBuildInputs = [ 16 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , ki18n ··· 10 , kdelibs4support 11 }: 12 13 + plasmaPackage { 14 name = "kmenuedit"; 15 nativeBuildInputs = [ 16 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/kscreen.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kconfig 4 , kconfigwidgets ··· 11 , qtdeclarative 12 }: 13 14 - mkDerivation { 15 name = "kscreen"; 16 nativeBuildInputs = [ 17 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kconfig 4 , kconfigwidgets ··· 11 , qtdeclarative 12 }: 13 14 + plasmaPackage { 15 name = "kscreen"; 16 nativeBuildInputs = [ 17 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/ksshaskpass.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , kcoreaddons ··· 7 , kwidgetsaddons 8 }: 9 10 - mkDerivation { 11 name = "ksshaskpass"; 12 nativeBuildInputs = [ 13 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , kcoreaddons ··· 7 , kwidgetsaddons 8 }: 9 10 + plasmaPackage { 11 name = "ksshaskpass"; 12 nativeBuildInputs = [ 13 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/ksysguard.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , kconfig ··· 11 , libksysguard 12 }: 13 14 - mkDerivation { 15 name = "ksysguard"; 16 nativeBuildInputs = [ 17 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , kconfig ··· 11 , libksysguard 12 }: 13 14 + plasmaPackage { 15 name = "ksysguard"; 16 nativeBuildInputs = [ 17 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/kwayland.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , wayland 4 }: 5 6 - mkDerivation { 7 name = "kwayland"; 8 nativeBuildInputs = [ 9 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , wayland 4 }: 5 6 + plasmaPackage { 7 name = "kwayland"; 8 nativeBuildInputs = [ 9 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/kwin/default.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , epoxy ··· 36 , xcb-util-cursor 37 }: 38 39 - mkDerivation { 40 name = "kwin"; 41 nativeBuildInputs = [ 42 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , epoxy ··· 36 , xcb-util-cursor 37 }: 38 39 + plasmaPackage { 40 name = "kwin"; 41 nativeBuildInputs = [ 42 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/kwrited.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kcoreaddons 4 , ki18n ··· 7 , kdbusaddons 8 }: 9 10 - mkDerivation { 11 name = "kwrited"; 12 nativeBuildInputs = [ 13 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kcoreaddons 4 , ki18n ··· 7 , kdbusaddons 8 }: 9 10 + plasmaPackage { 11 name = "kwrited"; 12 nativeBuildInputs = [ 13 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/libkscreen/default.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , libXrandr 4 , qtx11extras 5 }: 6 7 - mkDerivation { 8 name = "libkscreen"; 9 nativeBuildInputs = [ 10 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , libXrandr 4 , qtx11extras 5 }: 6 7 + plasmaPackage { 8 name = "libkscreen"; 9 nativeBuildInputs = [ 10 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/libksysguard.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kauth 4 , kcompletion ··· 16 , kiconthemes 17 }: 18 19 - mkDerivation { 20 name = "libksysguard"; 21 nativeBuildInputs = [ 22 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kauth 4 , kcompletion ··· 16 , kiconthemes 17 }: 18 19 + plasmaPackage { 20 name = "libksysguard"; 21 nativeBuildInputs = [ 22 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/milou.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , qtscript 4 , qtdeclarative ··· 10 , krunner 11 }: 12 13 - mkDerivation { 14 name = "milou"; 15 nativeBuildInputs = [ 16 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , qtscript 4 , qtdeclarative ··· 10 , krunner 11 }: 12 13 + plasmaPackage { 14 name = "milou"; 15 nativeBuildInputs = [ 16 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/oxygen-fonts.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , fontforge 4 }: 5 6 - mkDerivation { 7 name = "oxygen-fonts"; 8 nativeBuildInputs = [ 9 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , fontforge 4 }: 5 6 + plasmaPackage { 7 name = "oxygen-fonts"; 8 nativeBuildInputs = [ 9 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/oxygen.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , ki18n 4 , kcmutils ··· 13 , qtx11extras 14 }: 15 16 - mkDerivation { 17 name = "oxygen"; 18 nativeBuildInputs = [ 19 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , ki18n 4 , kcmutils ··· 13 , qtx11extras 14 }: 15 16 + plasmaPackage { 17 name = "oxygen"; 18 nativeBuildInputs = [ 19 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/plasma-desktop/default.nix
··· 1 - { mkDerivation 2 , substituteAll 3 , extra-cmake-modules 4 , kdoctools ··· 43 , utillinux 44 }: 45 46 - mkDerivation { 47 name = "plasma-desktop"; 48 nativeBuildInputs = [ 49 extra-cmake-modules
··· 1 + { plasmaPackage 2 , substituteAll 3 , extra-cmake-modules 4 , kdoctools ··· 43 , utillinux 44 }: 45 46 + plasmaPackage { 47 name = "plasma-desktop"; 48 nativeBuildInputs = [ 49 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/plasma-mediacenter.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , baloo 4 , kactivities ··· 16 , taglib 17 }: 18 19 - mkDerivation { 20 name = "plasma-mediacenter"; 21 nativeBuildInputs = [ 22 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , baloo 4 , kactivities ··· 16 , taglib 17 }: 18 19 + plasmaPackage { 20 name = "plasma-mediacenter"; 21 nativeBuildInputs = [ 22 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/plasma-nm.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , kcompletion ··· 27 , solid 28 }: 29 30 - mkDerivation { 31 name = "plasma-nm"; 32 nativeBuildInputs = [ 33 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , kcompletion ··· 27 , solid 28 }: 29 30 + plasmaPackage { 31 name = "plasma-nm"; 32 nativeBuildInputs = [ 33 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/plasma-pa.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , glib 4 , kconfigwidgets ··· 10 , plasma-framework 11 }: 12 13 - mkDerivation { 14 name = "plasma-pa"; 15 nativeBuildInputs = [ 16 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , glib 4 , kconfigwidgets ··· 10 , plasma-framework 11 }: 12 13 + plasmaPackage { 14 name = "plasma-pa"; 15 nativeBuildInputs = [ 16 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/plasma-workspace-wallpapers.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 }: 4 5 - mkDerivation { 6 name = "plasma-workspace-wallpapers"; 7 nativeBuildInputs = [ 8 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 }: 4 5 + plasmaPackage { 6 name = "plasma-workspace-wallpapers"; 7 nativeBuildInputs = [ 8 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/plasma-workspace/default.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , baloo ··· 53 , xsetroot 54 }: 55 56 - mkDerivation { 57 name = "plasma-workspace"; 58 nativeBuildInputs = [ 59 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , baloo ··· 53 , xsetroot 54 }: 55 56 + plasmaPackage { 57 name = "plasma-workspace"; 58 nativeBuildInputs = [ 59 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/polkit-kde-agent.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , ki18n 4 , kwindowsystem ··· 12 , polkitQt 13 }: 14 15 - mkDerivation { 16 name = "polkit-kde-agent"; 17 nativeBuildInputs = [ 18 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , ki18n 4 , kwindowsystem ··· 12 , polkitQt 13 }: 14 15 + plasmaPackage { 16 name = "polkit-kde-agent"; 17 nativeBuildInputs = [ 18 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/powerdevil.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , kactivities ··· 18 , udev 19 }: 20 21 - mkDerivation { 22 name = "powerdevil"; 23 nativeBuildInputs = [ 24 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , kactivities ··· 18 , udev 19 }: 20 21 + plasmaPackage { 22 name = "powerdevil"; 23 nativeBuildInputs = [ 24 extra-cmake-modules
+2 -2
pkgs/desktops/plasma-5.4/systemsettings.nix
··· 1 - { mkDerivation 2 , extra-cmake-modules 3 , kdoctools 4 , kitemviews ··· 14 , khtml 15 }: 16 17 - mkDerivation { 18 name = "systemsettings"; 19 nativeBuildInputs = [ 20 extra-cmake-modules
··· 1 + { plasmaPackage 2 , extra-cmake-modules 3 , kdoctools 4 , kitemviews ··· 14 , khtml 15 }: 16 17 + plasmaPackage { 18 name = "systemsettings"; 19 nativeBuildInputs = [ 20 extra-cmake-modules