Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created June 5, 2019 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/3f54d232727370a25228e1d5766399a8 to your computer and use it in GitHub Desktop.
Save cleverca22/3f54d232727370a25228e1d5766399a8 to your computer and use it in GitHub Desktop.
self: super: {
haskellPackages = super.haskellPackages.extend (hsSelf: hsSuper: {
half = super.haskell.lib.dontCheck hsSuper.half;
});
}
@cleverca22
Copy link
Author

to test it:
nix-build '<nixpkgs>' -A haskellPackages.half --argstr system i686-linux --arg overlays '[ (import ./overlay.nix) ]'
to use it, copy to ~/.config/nixpkgs/overlays/
see also: https://nixos.org/nixpkgs/manual/#chap-overlays

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment