haskell-hvr / cryptohash-sha256

Fast, pure and practical SHA-256 implementation
https://hackage.haskell.org/package/cryptohash-sha256
Other
22 stars 6 forks source link

cryptohash-sha256-0.11.101.0: "can't find source for sha256sum in ." #4

Closed peti closed 6 years ago

peti commented 6 years ago

Citing from https://hydra.nixos.org/build/75026627:

[...]
Using runghc version 8.2.2 found on system at:
/nix/store/cjp2kan8r0ay1ysldndmqxsxdf6xmca0-ghc-8.2.2/bin/runghc
Using strip version 2.30 found on system at:
/nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
Using tar found on system at:
/nix/store/4bjcimg3pfjgn2s2769qg8pajpybls8h-gnutar-1.30/bin/tar
No uhc found
building
Preprocessing executable 'sha256sum' for cryptohash-sha256-0.11.101.0..
Setup: can't find source for sha256sum in .
peti commented 6 years ago

Hmm, hold on, this might actually be an issue caused by our Nixpkgs configuration. I see that your Cabal file refers to the proper source path. I'll investigate further.

peti commented 6 years ago

OK, the problem was that jailbreak-cabal creates broken flles when it's built against Cabal-2.0.x. Compiling that tool with Cabal-2.2.x fix the issue.

I am sorry about the noise.