about summary refs log tree commit diff
path: root/src/nix/repl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/repl.cc')
-rw-r--r--src/nix/repl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc
index e5a597addf4b..781b4463e54a 100644
--- a/src/nix/repl.cc
+++ b/src/nix/repl.cc
@@ -652,6 +652,10 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m
         str << ESC_BLU "«primop-app»" ESC_END;
         break;
 
+    case tFloat:
+        str << v.fpoint;
+        break;
+
     default:
         str << ESC_RED "«unknown»" ESC_END;
         break;