From 395e5d76a7f45e4885ec4a405f695243bfcd7173 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Thu, 15 Jun 2023 23:37:53 -0700 Subject: [PATCH] opensmalltalk-vm: fix evaluation on darwin --- pkgs/development/compilers/opensmalltalk-vm/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/opensmalltalk-vm/default.nix b/pkgs/development/compilers/opensmalltalk-vm/default.nix index 1f392075b94a..82481a8e17eb 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) + )