qgis{,-ltr}: drop reference to src

The src attribute in the wrapped derivation is only required by the update script, however the presence of this
reference causes the source code to be downloaded whenever the wrapped derivation is realised, even if the unwrapped
derivation is already realised or can be substituted.  Referencing the unwrapped derivation in the update script avoids
this problem.
This commit is contained in:
Martin Joerg
2026-08-07 14:32:43 +00:00
parent 8ccc75d3e8
commit cc3decea47
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ let
in
symlinkJoin {
inherit (qgis-unwrapped) version outputs src;
inherit (qgis-unwrapped) version outputs;
pname = "qgis";
paths = [ qgis-unwrapped ];

View File

@@ -20,7 +20,7 @@ let
in
symlinkJoin {
inherit (qgis-ltr-unwrapped) version outputs src;
inherit (qgis-ltr-unwrapped) version outputs;
pname = "qgis-ltr";
paths = [ qgis-ltr-unwrapped ];

View File

@@ -17,4 +17,4 @@ elif [ "$package" == "qgis-ltr" ]; then
version="$(curl --silent $url | jq '.ltr' | make_version)"
fi
update-source-version "$package" "$version"
update-source-version "$package.unwrapped" "$version"