Hello and thank you for your time. I am experiencing an issue with the nix run
command on the flake for my Haskell software.
-
Can run just using
cabal run . -- build
outside of the Nix environment/nix develop
-
Can run using
nix run .#burrow -- build
inside of the Nix environment -
Cannot run using
nix run .#burrow -- build
inside of the Nix environment -
Can run
cabal run . -- build
inside the Nix env
The error that comes up when I use nix run .#burrow -- build
outside the Nix environment is:
➜ burrow git:(master) nix run . -- build
burrow: data/fonts/basicthorpe.bmf: hGetContents: invalid argument (invalid byte sequence)
Related issue: nix build only works in develop environment? · Issue #48 · someodd/burrow · GitHub