File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 23
23
hix = import ./hix.nix ;
24
24
eval-packages = import ./eval-packages.nix combined ;
25
25
ghcjs = import ./ghcjs.nix ;
26
+ libm = import ./libm.nix ;
26
27
} ;
27
28
28
29
composeExtensions = f : g : final : prev :
58
59
hix
59
60
eval-packages
60
61
hydra
62
+ libm
61
63
# Restore nixpkgs haskell and haskellPackages
62
64
( _ : prev : { inherit ( prev . haskell-nix-prev ) haskell haskellPackages ; } )
63
65
] ;
Original file line number Diff line number Diff line change
1
+ self : super :
2
+
3
+ {
4
+ # Some packages have cabal deps on `m`, which just comes with the C compiler.
5
+ # So we create a dummy package to satisfy haskell.nix's dependency resolution.
6
+ m = self . stdenv . mkDerivation {
7
+ name = "m" ;
8
+ unpackPhase = "true" ;
9
+ # We have to create lib and bin to make it "look like" a library
10
+ installPhase = ''
11
+ mkdir -p $out/lib
12
+ mkdir -p $out/bin
13
+ '' ;
14
+ } ;
15
+ }
You can’t perform that action at this time.
0 commit comments