From 268f3732e15850a9f99020bf9e29b34a6409e584 Mon Sep 17 00:00:00 2001 From: Jon Hermansen Date: Mon, 30 Jun 2025 13:37:37 -0400 Subject: [PATCH] ocaml-augeas: update download URLs for debian patches The current set of patches are not available at the old URLs, because the Debian package revision was updated. Switched the fetching strategy to pull directly from Salsa The patch contents have not changed --- pkgs/development/ocaml-modules/augeas/default.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pkgs/development/ocaml-modules/augeas/default.nix b/pkgs/development/ocaml-modules/augeas/default.nix index b06471a495d1..a4c74815ce01 100644 --- a/pkgs/development/ocaml-modules/augeas/default.nix +++ b/pkgs/development/ocaml-modules/augeas/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, - fetchDebianPatch, + fetchpatch, autoreconfHook, makeWrapper, pkg-config, @@ -22,16 +22,12 @@ stdenv.mkDerivation rec { }; patches = [ - (fetchDebianPatch { - inherit pname version; - debianRevision = "1"; - patch = "0001-Use-ocamlopt-g-option.patch"; + (fetchpatch { + url = "https://salsa.debian.org/debian/ocaml-augeas/-/raw/07c2408a7e5a06cefe5d53a89fecaa8556a39b06/debian/patches/0001-Use-ocamlopt-g-option.patch"; hash = "sha256-EMd/EfWO2ni0AMonfS7G5FENpVVq0+q3gUPd4My+Upg="; }) - (fetchDebianPatch { - inherit pname version; - debianRevision = "1"; - patch = "0002-caml_named_value-returns-const-value-pointer-in-OCam.patch"; + (fetchpatch { + url = "https://salsa.debian.org/debian/ocaml-augeas/-/raw/07c2408a7e5a06cefe5d53a89fecaa8556a39b06/debian/patches/0002-caml_named_value-returns-const-value-pointer-in-OCam.patch"; hash = "sha256-Y53UHwrTVeV3hnsvABmWxlPi2Fanm0Iy1OR8Zql5Ub8="; }) ];