From 6b2bd330fa39376fe5143d8095b9a1b925255110 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 11 Apr 2019 14:51:25 +0200 Subject: [PATCH] wordgrinder: Fix sha256 hash The hash used for fetchFromGitHub was on the archive itself, however fetchFromGitHub is actually a wrapper of fetchzip: hash mismatch in fixed-output derivation '...-source': wanted: sha256:1zqx3p9l22njni44ads3fyw3xh6807wmb5k1x2glg61z81cwc6sf got: sha256:08lnq5wmspfqdjmqm15gizcq0xr7mg4h62qhvwj63v0sd6ks1cal When using nix-prefetch-url without the --unpack argument, I get: 1zqx3p9l22njni44ads3fyw3xh6807wmb5k1x2glg61z81cwc6sf And with the --unpack argument: 08lnq5wmspfqdjmqm15gizcq0xr7mg4h62qhvwj63v0sd6ks1cal Just to be 100% sure the contents are the same, I also diffed the contents of the former tarball with the outputs of the unpacked dir and they're the same. I didn't actually test the package (which doesn't build right now anyway), but now at least the source checksum is fixed :-) Signed-off-by: aszlig Cc: @matthiasbeyer --- pkgs/applications/office/wordgrinder/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/office/wordgrinder/default.nix b/pkgs/applications/office/wordgrinder/default.nix index 7b7b03aae5da..9518aaca878e 100644 --- a/pkgs/applications/office/wordgrinder/default.nix +++ b/pkgs/applications/office/wordgrinder/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { repo = "wordgrinder"; owner = "davidgiven"; rev = "${version}"; - sha256 = "1zqx3p9l22njni44ads3fyw3xh6807wmb5k1x2glg61z81cwc6sf"; + sha256 = "08lnq5wmspfqdjmqm15gizcq0xr7mg4h62qhvwj63v0sd6ks1cal"; }; makeFlags = [