From e0457e283bf7d0406b5ac2032c9a260f5f25263d Mon Sep 17 00:00:00 2001 From: Ivan Mincik Date: Tue, 26 Aug 2025 15:24:49 +0200 Subject: [PATCH] qgis+qgis-ltr: fix top level package pname Use pname instead of name which will result in name being automatically set to "${pname}-${version}". ``` qgis.pname "qgis" ``` ``` qgis.name "qgis-3.44.1" ``` --- pkgs/applications/gis/qgis/default.nix | 4 ++-- pkgs/applications/gis/qgis/ltr.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/gis/qgis/default.nix b/pkgs/applications/gis/qgis/default.nix index 46b83449e02b..74d5d6f732ce 100644 --- a/pkgs/applications/gis/qgis/default.nix +++ b/pkgs/applications/gis/qgis/default.nix @@ -19,10 +19,10 @@ let withWebKit = withWebKit; }; in -symlinkJoin rec { +symlinkJoin { inherit (qgis-unwrapped) version src; - name = "qgis-${version}"; + pname = "qgis"; paths = [ qgis-unwrapped ]; diff --git a/pkgs/applications/gis/qgis/ltr.nix b/pkgs/applications/gis/qgis/ltr.nix index 2a2c6e730875..21d906debaa4 100644 --- a/pkgs/applications/gis/qgis/ltr.nix +++ b/pkgs/applications/gis/qgis/ltr.nix @@ -19,10 +19,10 @@ let withWebKit = withWebKit; }; in -symlinkJoin rec { +symlinkJoin { inherit (qgis-ltr-unwrapped) version src; - name = "qgis-${version}"; + pname = "qgis"; paths = [ qgis-ltr-unwrapped ];