Building update script that updates package and a dependent package

I want to make sure that the msedgedriver is always updated together with the microsoft-edge version. Since I already know the version that is needed I just want to rewrite the hash in the relevant file.

Are there any best practices?

Look into _experimental-update-script-combinators.sequence, there’s some examples in nixpkgs.

1 Like