Skip to content

Instantly share code, notes, and snippets.

@idontgetoutmuch
Created August 19, 2019 11:50
Show Gist options
  • Select an option

  • Save idontgetoutmuch/2fd6a1909ad2483cd4f6099aee92f003 to your computer and use it in GitHub Desktop.

Select an option

Save idontgetoutmuch/2fd6a1909ad2483cd4f6099aee92f003 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {}, doBenchmark ? false }:
let
my-blas-ffi = pkgs.haskellPackages.callPackage ../blas-ffi/default.nix {};
my-lapack = pkgs.haskellPackages.callPackage ./default.nix {};
haskellDeps = ps: with ps; [
my-blas-ffi
my-lapack
];
in
pkgs.stdenv.mkDerivation {
name = "env";
buildInputs = [
(pkgs.haskellPackages.ghcWithPackages haskellDeps)
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment