Trying out stack-to-nix + nix build on https://github.com/qrilka/xlsx/blob/master/stack-lts-12.yaml resulted in
error: attribute 'ghc843' missing, at /nix/store/15f66d3d57hd018sx781bvdm6cxl87q4-source/modules/hackage.nix:69:15
GHC 8.4.3 is no longer present in nixpkgs, I could use a later snapshot with GHC 8.4.4 in this case but probably this situation should be dealt somehow by nix-tools as well. E.g. printing some error about not available GHC could help (and some advice how to make it available)