Skip to content

Instantly share code, notes, and snippets.

@freeman42x
Created April 25, 2018 00:04
Show Gist options
  • Save freeman42x/b0f806a45904c71219c24aea7dcf08c4 to your computer and use it in GitHub Desktop.
Save freeman42x/b0f806a45904c71219c24aea7dcf08c4 to your computer and use it in GitHub Desktop.
[neo@nixos:~/Sources/miso]$ cat ~/.config/nixpkgs/config.nix
/* { allowUnfree = true; } */
{
allowUnfree = true;
packageOverrides = super: let self = super.pkgs; in
{
profiledHaskellPackages = self.haskellPackages.override {
overrides = self: super: {
mkDerivation = args: super.mkDerivation (args // {
enableLibraryProfiling = true;
});
};
};
};
}
[neo@nixos:~/Sources/miso]$ ~/.nixpkgs/config.nix
bash: /home/neo/.nixpkgs/config.nix: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment