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 88 inherit compiler-nix-name evalPackages ;
99 src = testSrc "exe-dlls" ;
1010 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 ;
1512 } ;
1613
1714 packages = project . hsPkgs ;
Original file line number Diff line number Diff line change 11[ {
22 # See https://github.com/haskell-cryptography/HsOpenSSL/issues/95
33 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