Hello Michał You should be able to run arbitrary code during build/installation by changing main in Setup.hs to use defaultMainWithHooks then supplying your own UserHooks main = defaultMainWithHooks my_hooks my_hooks :: UserHooks my_hooks = ... Best wishes Stephen