# Pastebin uSuQYJHD { allowUnfree = true; packageOverrides = super: let self = super.pkgs; in with self; rec { myHaskellPackages = libProf: self: super: rec { time = super.callHackage "time" "1.6.0.1" {}; mkDerivation = pkg: super.mkDerivation (pkg // { enableLibraryProfiling = libProf; enableExecutableProfiling = false; }); }; haskell843Packages = super.haskell.packages.ghc843.override { overrides = myHaskellPackages false; }; haskellPackages = haskell843Packages; myPackages = super.myEnvFun { name = "my-packages"; buildInputs = with haskellPackages; [ hackage-server ]; }; }; }