organicmaps: add updateScript
This commit is contained in:
parent
546adc67e7
commit
f59d3afcd5
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue