generate reserve using cabal2nix