Skip to content

Instantly share code, notes, and snippets.

@573
Created August 25, 2024 21:17
Show Gist options
  • Save 573/6f9a52bd6e11ba695b8c45680f486434 to your computer and use it in GitHub Desktop.
Save 573/6f9a52bd6e11ba695b8c45680f486434 to your computer and use it in GitHub Desktop.
nix haskell tip

<@lxsameer:matrix.org> hey folks, do you know how I can extend the following derivation: drv = pkgs.haskell.pcakages.ghc96.withPackages (p: (with p;[ .....]); with more haskell packages that use the same compiler instance?

(pkgs.haskell.packages.ghc96.override { overrides = hself: hsuper: { ...; } }).withPackages ...;

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