Gabriella439 / nix-diff

Explain why two Nix derivations differ
BSD 3-Clause "New" or "Revised" License
357 stars 19 forks source link

character encoding error when running nix-diff #18

Closed robinp closed 5 years ago

robinp commented 5 years ago

Platform: linux + nixpkgs.

$ nix-shell -p nix-diff  # gets version 1.0.6
$ nix-diff /nix/store/b5fm7nd0c4bc6bldlpp4yyicpzdmk1b8-nixops-machines.drv  /nix/store/r97qpaipk0ylj385n00vylg82izizmmg-nixops-machines.drv --color never
nix-diff: <stdout>: commitAndReleaseBuffer: invalid argument (invalid character)

Sounds like https://ghc.haskell.org/trac/ghc/ticket/8118.

Gabriella439 commented 5 years ago

Pull request up here: https://github.com/Gabriel439/nix-diff/pull/19

Let me know if that branch fixes the problem for you

robinp commented 5 years ago

@Gabriel439 works like a charm! Thank you, for the tool as well.

Gabriella439 commented 5 years ago

You're welcome! :slightly_smiling_face: