Bumped base dependency to 4.7
Refactored nix-expressions into composable haskellPackages extension function