Skip to content

Commit 964fccf

Browse files
committed
Incoude swi-prolog only for x86_64-linux
1 parent bb5393f commit 964fccf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

experimental/build.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ _: {
1818

1919
pkgs.protobuf
2020
pkgs.haskellPackages.haskell-language-server
21-
pkgs.swiPrologWithGui
22-
] ++ config.settings.shell.tools;
21+
]
22+
++ (if pkgs.system == "x86_64-linux" then [ pkgs.swiPrologWithGui ] else [ ])
23+
++ config.settings.shell.tools;
2324

2425
shellHook = config.settings.shell.hook;
2526
inputsFrom = [ inputs'.proto-nix.devShells.dev-proto-nix ];

0 commit comments

Comments
 (0)