Skip to content

Commit

Permalink
Disable R on aarch64; disable hls on -js and -windows
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman committed Apr 15, 2024
1 parent 8493953 commit 4cb2af0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cross-js.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ pkgs.mkShell ({
stdenv.cc.cc.lib ]) ++ (with pkgs.buildPackages; [
])
++ pkgs.lib.optional (withHLS && (compiler-not-in (
pkgs.lib.optional (builtins.compareVersions compiler.version "9.9" >= 0) compiler-nix-name
# it appears we can't get HLS build with 9.8 yet.
pkgs.lib.optional (builtins.compareVersions compiler.version "9.7" >= 0) compiler-nix-name
++ pkgs.lib.optional (pkgs.stdenv.hostPlatform.isDarwin && pkgs.stdenv.hostPlatform.isAarch64) "ghc902") "Haskell Language Server")) (tool "haskell-language-server")
++ pkgs.lib.optional (withHlint && (compiler-not-in (
pkgs.lib.optional (builtins.compareVersions compiler.version "9.8" >= 0) compiler-nix-name
Expand Down
3 changes: 2 additions & 1 deletion cross-windows.nix
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ pkgs.pkgsBuildBuild.mkShell ({
windows.mingw_w64_pthreads
])
++ pkgs.lib.optional (withHLS && (compiler-not-in (
pkgs.lib.optional (builtins.compareVersions compiler.version "9.9" >= 0) compiler-nix-name
# it appears we can't get HLS build with 9.8 yet.
pkgs.lib.optional (builtins.compareVersions compiler.version "9.7" >= 0) compiler-nix-name
++ pkgs.lib.optional (pkgs.stdenv.hostPlatform.isDarwin && pkgs.stdenv.hostPlatform.isAarch64) "ghc902") "Haskell Language Server")) (tool "haskell-language-server")
++ pkgs.lib.optional (withHlint && (compiler-not-in (
pkgs.lib.optional (builtins.compareVersions compiler.version "9.8" >= 0) compiler-nix-name
Expand Down
2 changes: 1 addition & 1 deletion dynamic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pkgs.mkShell {
]
++ map pkgs.lib.getDev (with pkgs; [ libblst libsodium-vrf secp256k1 icu ]
++ pkgs.lib.optional (withIOGFull) [
R # for plutus
(if pkgs.stdenv.hostPlatform.isAarch64 then null else R) # for plutus; R is broken on aarch64
postgresql # for db-sync
]))
;
Expand Down

0 comments on commit 4cb2af0

Please sign in to comment.