summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeelz <LouisTakePILLz@users.noreply.github.com>2020-12-14 13:48:17 -0500
committerpeelz <LouisTakePILLz@users.noreply.github.com>2020-12-14 14:41:07 -0500
commitd074587a8d4882c8983cf71cf6262603c5f1070b (patch)
treec3af2d3dd3fc230c844161e97b8aeea324168d8f
parentce7773fcf77d36bcc27c58ba63650b4d0edd0351 (diff)
kdeApplications: split drv name into pname and version attributes
This change aims to make it easier to access the package name and version individually when writing overlays for KDE derivations.
-rw-r--r--pkgs/applications/kde/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix
index 315a5b358855..1f0f7b5ace3f 100644
--- a/pkgs/applications/kde/default.nix
+++ b/pkgs/applications/kde/default.nix
@@ -42,8 +42,8 @@ let
libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {};
in
mkDerivation (args // {
- name = "${name}-${version}";
- inherit src;
+ pname = name;
+ inherit src version;
outputs = args.outputs or [ "out" ];