diff --git a/nix/internal-tests.nix b/nix/internal-tests.nix
index 822b36e598e98fe10d5bc5abcc0f1b075677d0b2..38e6e924e0b2868a34b0cc9f5ac80d0541c7f969 100644
--- a/nix/internal-tests.nix
+++ b/nix/internal-tests.nix
@@ -54,7 +54,7 @@
 , perl
 , python3
 , python3Packages
-, swiProlog
+, swi-prolog
 , time
 , unixtools
 , which
@@ -128,7 +128,7 @@ stdenvNoCC.mkDerivation rec {
     python3
     python3Packages.jsonschema
     python3Packages.pyaml
-    swiProlog
+    swi-prolog
     time
     unixtools.getopt
     which