mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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:
@@ -21,7 +21,7 @@ let
|
||||
in
|
||||
symlinkJoin {
|
||||
|
||||
inherit (qgis-unwrapped) version outputs src;
|
||||
inherit (qgis-unwrapped) version outputs;
|
||||
pname = "qgis";
|
||||
|
||||
paths = [ qgis-unwrapped ];
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user