haskell-modules: implement overrideArgs method to re-write derivation attributes