From a63386898b062ded6b269f72cefbfab475f176d5 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:40:19 +0200 Subject: [PATCH] erofs: pin to 1.7.1 There is a reproducibility issue in later versions, likely https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=0da388cfdc9dcb952c01b0755ab8a1d6d59a5312 Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- overlays/nixpkgs.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/overlays/nixpkgs.nix b/overlays/nixpkgs.nix index 838624acb1..f681957bd1 100644 --- a/overlays/nixpkgs.nix +++ b/overlays/nixpkgs.nix @@ -15,4 +15,16 @@ final: prev: { azure-cli = prev.azure-cli.override { withExtensions = with final.azure-cli.extensions; [ aks-preview ]; }; + + # There is a reproducibility issue in later versions, + # likely https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/commit/?id=0da388cfdc9dcb952c01b0755ab8a1d6d59a5312 + erofs-utils = prev.erofs-utils.overrideAttrs ( + finalAttrs: _prevAttrs: { + version = "1.7.1"; + src = final.fetchurl { + url = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/erofs-utils-${finalAttrs.version}.tar.gz"; + hash = "sha256-GWCD1j5eIx+1eZ586GqUS7ylZNqrzj3pIlqKyp3K/xU="; + }; + } + ); }