organicmaps: add updateScript

This commit is contained in:
Francesco Gazzetta 2023-03-07 10:08:18 +01:00
parent 546adc67e7
commit f59d3afcd5

View file

@ -16,6 +16,7 @@
, icu
, freetype
, pugixml
, nix-update-script
}:
mkDerivation rec {
@ -64,6 +65,13 @@ mkDerivation rec {
bash ./configure.sh
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
extraArgs = [ "-vr" "(.*)-android" ];
};
};
meta = with lib; {
# darwin: "invalid application of 'sizeof' to a function type"
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;