about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/compilers/opensmalltalk-vm/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/compilers/opensmalltalk-vm/default.nix b/pkgs/development/compilers/opensmalltalk-vm/default.nix
index 1f392075b94a8..82481a8e17eb3 100644
--- a/pkgs/development/compilers/opensmalltalk-vm/default.nix
+++ b/pkgs/development/compilers/opensmalltalk-vm/default.nix
@@ -180,5 +180,7 @@ let
 
   platform = stdenv.targetPlatform.system;
 in
-  vmsByPlatform.${platform} or
-    (throw "Unsupported platform ${platform}: only the following platforms are supported: ${builtins.attrNames vmsByPlatform}")
+  vmsByPlatform.${platform} or throw (
+    "Unsupported platform ${platform}: only the following platforms are supported: " +
+    builtins.toString (builtins.attrNames vmsByPlatform)
+  )