Skip to content

Instantly share code, notes, and snippets.

@ocharles
Created February 3, 2021 12:36
Show Gist options
  • Save ocharles/409cedf66e9789e2c081c0d9c90588e7 to your computer and use it in GitHub Desktop.
Save ocharles/409cedf66e9789e2c081c0d9c90588e7 to your computer and use it in GitHub Desktop.
self: super:
let
sources = import ../sources.nix;
haskell-nix = import sources."haskell.nix" {};
nixpkgsArgs = haskell-nix.nixpkgsArgs // {
config = haskell-nix.nixpkgsArgs.config // { allowUnfree = true; };
};
in
{
haskell-nix = (import haskell-nix.sources.nixpkgs-2009 nixpkgsArgs).haskell-nix;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment