Use a nix expression instead of cabal for now

also, update to package versions supported by nix