Skip to content

Commit

Permalink
nix: Provide the dependenciesHash as argument
Browse files Browse the repository at this point in the history
This is necessary for overriding dependencies of DiffDetective.
  • Loading branch information
ibbem committed Nov 15, 2024
1 parent 0e7d810 commit ba75e48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
doCheck ? true,
buildGitHubPages ? true,
dependenciesHash ? "sha256-LJQfV426han/+H9ejUla7JvN1LS/c9l3e7hODs4Z7Kg=",
}:
pkgs.stdenvNoCC.mkDerivation rec {
pname = "DiffDetective";
Expand Down Expand Up @@ -63,7 +64,7 @@ pkgs.stdenvNoCC.mkDerivation rec {
dontConfigure = true;
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "sha256-LJQfV426han/+H9ejUla7JvN1LS/c9l3e7hODs4Z7Kg=";
outputHash = dependenciesHash;
};

outputs = ["out" "maven"];
Expand Down

0 comments on commit ba75e48

Please sign in to comment.