From c5801aedf98e2968fc0d4e4db5a1d274e8578cb5 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 2 Apr 2026 18:49:10 +0400 Subject: [PATCH] osmium-tool: fix build --- pkgs/by-name/os/osmium-tool/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/os/osmium-tool/package.nix b/pkgs/by-name/os/osmium-tool/package.nix index 2d812e1b956c..754c0ca07e3c 100644 --- a/pkgs/by-name/os/osmium-tool/package.nix +++ b/pkgs/by-name/os/osmium-tool/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, cmake, installShellFiles, pandoc, @@ -26,6 +27,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-x5qEW4DqOw/vA+IuZA7VC5WRn+uDOZ6dJhyJoi7UKOA="; }; + patches = [ + # Fix apply-changes-version-on-version-timestamp test + (fetchpatch { + url = "https://github.com/osmcode/osmium-tool/commit/e58501ed1570f19340173c668568790369214d46.patch"; + hash = "sha256-VhdwY1DpfTQAx24Qck0a96GGnEGfg4T27wSeGO1zdng="; + }) + ]; + nativeBuildInputs = [ cmake installShellFiles