File tree Expand file tree Collapse file tree 1 file changed +9
-20
lines changed Expand file tree Collapse file tree 1 file changed +9
-20
lines changed Original file line number Diff line number Diff line change 1- let
2- pkgs = import ( builtins . fetchGit {
3- name = "nixos-git" ;
4- url = "https://github.com/nixos/nixpkgs/" ;
5- ref = "refs/heads/master" ;
6- # Commit hash for nixos-unstable as of 2021-12-01
7- # # rev = "8b01281b66cba818abea8dbbdb3614b1b38961e3";
8- rev = "c610be58c0b6484c18728dc3ed60310cdbfbd456" ;
9- } ) { } ;
10- ghc = pkgs . haskell . compiler . ghc8107 ;
11- ghc901 = pkgs . haskell . compiler . ghc901 ;
12- stdenv = pkgs . overrideCC pkgs . stdenv pkgs . gcc7 ;
13- gcc = pkgs . gcc7 ;
14- in
15- with pkgs ;
16- stdenv . mkDerivation {
17- name = "lh-array-sort" ;
18- buildInputs = [ ghc ghc901 cabal-install stack ghcid z3 numactl
19- stdenv gcc gdb uthash ] ;
20- }
1+ { compiler ? "ghc910" , pkgs ? import <nixpkgs> { } , ... } :
2+ pkgs . mkShell {
3+ name = "haskell-shell" ;
4+ buildInputs = [
5+ pkgs . haskell . compiler . ${ compiler }
6+ pkgs . haskell . packages . ${ compiler } . cabal-install
7+ pkgs . z3
8+ ] ;
9+ }
You can’t perform that action at this time.
0 commit comments