File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 7
7
project = project' {
8
8
inherit compiler-nix-name evalPackages ;
9
9
src = testSrc "gi-gtk" ;
10
- cabalProjectLocal = builtins . readFile ../cabal.project.local ;
10
+ cabalProjectLocal = builtins . readFile ../cabal.project.local + ''
11
+ constraints: filepath source
12
+ '' ;
11
13
} ;
12
14
13
15
packages = project . hsPkgs ;
@@ -17,7 +19,10 @@ in recurseIntoAttrs rec {
17
19
# Gtk cross compilation seems to be broken in nixpkgs
18
20
|| stdenv . hostPlatform . isWindows
19
21
# We can't make static libraries for Gtk
20
- || stdenv . hostPlatform . isMusl ;
22
+ || stdenv . hostPlatform . isMusl
23
+ # Older versions of GHC fail for aarch64 with
24
+ # error: incompatible pointer to integer conversion assigning to 'ffi_arg' (aka 'unsigned long') from 'HsPtr' (aka 'void *') [-Wint-conversion]
25
+ || builtins . elem compiler-nix-name [ "ghc8107" "ghc902" "ghc928" "ghc948" ] && stdenv . hostPlatform . isAarch64 ;
21
26
22
27
ifdInputs = {
23
28
inherit ( project ) plan-nix ;
You can’t perform that action at this time.
0 commit comments