Skip to content

Commit

Permalink
maps: Add patch fixing DB migration
Browse files Browse the repository at this point in the history
Since Nextcloud 19.0.4.2, database columns that are non-null can no
longer contain a default of empty string.

This also has been addressed upstream[1], but Nextcloud 19 currently
gets maps version 0.1.6, which does not yet contain this fix.

nextcloud/maps#453

Signed-off-by: aszlig <[email protected]>
  • Loading branch information
aszlig committed Oct 10, 2020
1 parent 69dfd84 commit 916c521
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions osrm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ in {
'' else ''
patch -p1 -d apps/maps < ${./proxy-routing.patch}
patch -p1 -d apps/maps < ${./proxy-routing.dist.patch}
patch -p1 -d apps/maps < ${pkgs.fetchpatch {
url = "https://github.com/nextcloud/maps/commit/"
+ "e130afbd65a875eeb620d49d7806f8d15765f9d1.patch";
sha256 = "105wx00cl6v1h77iv49m45jsw91q0w551xvhlbfarvcmh6zl4i08";
}}
'';
}
(lib.mkIf (cfg.osmDataset != null && cfg.profiles != []) {
Expand Down

0 comments on commit 916c521

Please sign in to comment.