From d074587a8d4882c8983cf71cf6262603c5f1070b Mon Sep 17 00:00:00 2001 From: peelz Date: Mon, 14 Dec 2020 13:48:17 -0500 Subject: [PATCH] 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. --- pkgs/applications/kde/default.nix | 4 ++-- 1 file 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" ];