Created
March 31, 2020 20:01
-
-
Save srhb/c482cc3eec2cd26fa140a17ca5b85b61 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
overlay = self: super: { | |
haskellPackages = with self.haskell.lib; super.haskellPackages.override (old: { | |
overrides = self.lib.composeExtensions (old.overrides or (_: _: {})) (hself: hsuper: { | |
hello = overrideCabal hsuper.hello (olddrv: { | |
enableExecutableProfiling = true; | |
}); | |
}); | |
}); | |
}; | |
pkgs = import <nixpkgs> { overlays = [overlay]; config = {}; }; | |
in | |
pkgs.haskellPackages.hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment