As long as you're using cabal2nix and the Haskell architecture in nixpkgs, it should be easy to automate the creation and updates of these two derivations.    There is often no reason to edit derivations from `cabal2nix` by hand (except as overrides in configuration-common.nix).