This reverts commit eba689ad05. ghc-modi stopped working for me after this change. https://github.com/NixOS/nixpkgs/pull/2490
eba689ad05