organicmaps: add updateScript
This commit is contained in:
parent
546adc67e7
commit
f59d3afcd5
|
@ -16,6 +16,7 @@
|
||||||
, icu
|
, icu
|
||||||
, freetype
|
, freetype
|
||||||
, pugixml
|
, pugixml
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
|
@ -64,6 +65,13 @@ mkDerivation rec {
|
||||||
bash ./configure.sh
|
bash ./configure.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
extraArgs = [ "-vr" "(.*)-android" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
# darwin: "invalid application of 'sizeof' to a function type"
|
# darwin: "invalid application of 'sizeof' to a function type"
|
||||||
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
||||||
|
|
Loading…
Reference in a new issue