From 30503958109f3282ca557fbf1fd62dec1fefe0ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoran=20Plesiv=C4=8Dak?= Date: Wed, 1 Nov 2017 21:31:20 +0000 Subject: [PATCH] Mention "float" type in builtins.typeOf section of the docs + remove trailing whitespace from the file --- doc/manual/expressions/builtins.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index 615314880..14da1c63e 100644 --- a/doc/manual/expressions/builtins.xml +++ b/doc/manual/expressions/builtins.xml @@ -264,13 +264,13 @@ stdenv.mkDerivation { … } Note that when obtaining the hash with nix-prefetch-url the option --unpack is required. - - - This function can also verify the contents against a hash. - In that case, the function takes a set instead of a URL. The set + + + This function can also verify the contents against a hash. + In that case, the function takes a set instead of a URL. The set requires the attribute url and the attribute sha256, e.g. - + with import (fetchTarball { url = https://github.com/NixOS/nixpkgs-channels/archive/nixos-14.12.tar.gz; @@ -279,7 +279,7 @@ with import (fetchTarball { stdenv.mkDerivation { … } - + This function is not available if e, namely "int", "bool", "string", "path", "null", - "set", "list" or - "lambda". + "set", "list", + "lambda" or + "float".