File tree Expand file tree Collapse file tree 4 files changed +11
-276
lines changed Expand file tree Collapse file tree 4 files changed +11
-276
lines changed Original file line number Diff line number Diff line change 3
3
This is a fork that builds only Cabal projects, uses ghc from upstream
4
4
nixpkgs, and doesn't support cross platform builds / ghcjs builds. It
5
5
was forked after we had to build every ghc from 8.10.7 to 9.8.2 one
6
- too many times. This fork also contains a fix that properly respects
7
- index-state in presence of revisions
6
+ too many times. This fork also contains a bug fix that properly
7
+ respects index-state in presence of revisions.
8
+
9
+ There is a bug that is carried on from haskell.nix repo, where pinning
10
+ a different version of a ghc core library will silently fail i.e. the
11
+ plan succeeds but it'll always use the library shipped with the ghc
12
+ version which can be misleading.
13
+
14
+
8
15
9
16
` haskell.nix ` can automatically translate your Cabal or Stack project and
10
17
its dependencies into Nix code.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 31
31
32
32
cabalFile = if package-description-override == null || bundledSrc != null then null else package-description-override ;
33
33
34
- defaultSetupSrc = if stdenv . hostPlatform . isGhcjs then ./Setup. ghcjs.hs else ./Setup.hs ;
34
+ defaultSetupSrc = if stdenv . hostPlatform . isGhcjs then abort "No implementation for ghcjs" else ./Setup.hs ;
35
35
36
36
setup = if package . buildType == "Simple"
37
37
then
Original file line number Diff line number Diff line change 13
13
haskellLib = final . haskell-nix . haskellLib ;
14
14
defaultSetupSrc =
15
15
if final . stdenv . targetPlatform . isGhcjs
16
- then ../builder/Setup. ghcjs.hs
16
+ then abort "No implementation for ghcjs"
17
17
else ../builder/Setup.hs ;
18
18
addDefaultSetup = compiler-nix-name : ghc :
19
19
let
You can’t perform that action at this time.
0 commit comments