Skip to content

Instantly share code, notes, and snippets.

@idontgetoutmuch
Created October 14, 2019 16:55
Show Gist options
  • Select an option

  • Save idontgetoutmuch/3755699e222bd6b5ae2814d5bd1ae0f7 to your computer and use it in GitHub Desktop.

Select an option

Save idontgetoutmuch/3755699e222bd6b5ae2814d5bd1ae0f7 to your computer and use it in GitHub Desktop.
let
hmatrix-sundials-overlay = self: super: {
haskell = super.haskell // { packageOverrides =
hself: hsuper: {
hmatrix-sundials = (
hself.callCabal2nix "hmatrix-sundials" (builtins.fetchGit {
url = "https://github.com/haskell-numerics/hmatrix-sundials.git";
rev = "9b6ec2b5fc509f74c5e61657dfc638a2c7ebced0";
}) {}
);
};
};
};
in
let
pkgs = import <nixpkgs> {
overlays = [ hmatrix-sundials-overlay ];
};
in
pkgs.haskellPackages.callPackage ./default.nix {
hmatrix-sundials = pkgs.haskellPackages.hmatrix-sundials;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment