File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 8
8
inherit compiler-nix-name evalPackages ;
9
9
src = testSrc "exe-dlls" ;
10
10
cabalProjectLocal = builtins . readFile ../cabal.project.local ;
11
- modules = import ../modules.nix ++ optional stdenv . hostPlatform . isAndroid {
12
- packages . libsodium . configureFlags = [ "--c2hs-option=--cppopts=-D_Null_unspecified=" ] ;
13
- packages . libsodium . components . library . hardeningDisable = [ "fortify" ] ;
14
- } ;
11
+ modules = import ../modules.nix ;
15
12
} ;
16
13
17
14
packages = project . hsPkgs ;
Original file line number Diff line number Diff line change 1
1
[ {
2
2
# See https://github.com/haskell-cryptography/HsOpenSSL/issues/95
3
3
packages . HsOpenSSL . ghcOptions = [ "-optc=-Wno-incompatible-pointer-types" ] ;
4
- } ]
4
+ }
5
+
6
+ ( { pkgs , lib , ...} : lib . mkIf pkgs . stdenv . hostPlatform . isAndroid {
7
+ packages . libsodium . configureFlags = [ "--c2hs-option=--cppopts=-D_Null_unspecified=" ] ;
8
+ packages . libsodium . components . library . hardeningDisable = [ "fortify" ] ;
9
+ } )
10
+ ]
You can’t perform that action at this time.
0 commit comments