From ba75e48be64b93333d9fde8e3d6248c93117df73 Mon Sep 17 00:00:00 2001 From: Benjamin Moosherr Date: Fri, 15 Nov 2024 08:45:22 +0100 Subject: [PATCH] nix: Provide the `dependenciesHash` as argument This is necessary for overriding dependencies of DiffDetective. --- default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 618d516e..74bb41d3 100644 --- a/default.nix +++ b/default.nix @@ -9,6 +9,7 @@ }, doCheck ? true, buildGitHubPages ? true, + dependenciesHash ? "sha256-LJQfV426han/+H9ejUla7JvN1LS/c9l3e7hODs4Z7Kg=", }: pkgs.stdenvNoCC.mkDerivation rec { pname = "DiffDetective"; @@ -63,7 +64,7 @@ pkgs.stdenvNoCC.mkDerivation rec { dontConfigure = true; outputHashAlgo = "sha256"; outputHashMode = "recursive"; - outputHash = "sha256-LJQfV426han/+H9ejUla7JvN1LS/c9l3e7hODs4Z7Kg="; + outputHash = dependenciesHash; }; outputs = ["out" "maven"];