summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Sesser <florian.sesser@web.de>2023-12-14 14:55:30 +0000
committerGitHub <noreply@github.com>2023-12-14 15:55:30 +0100
commit79538b5bcb593cb2f6be4b03f78cc94de9e2e49b (patch)
tree46c8ea040273cadd3edf88df271a78c1cedaed4c
parent9f317de120e8ad02ff47e3ad976bd69391efcada (diff)
Remove spurious `builtins.` (#4086)
I am just getting started, but believe this `builtins.` name spacing here can go
-rw-r--r--nix.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix.html.markdown b/nix.html.markdown
index 1d5a7778..cf412864 100644
--- a/nix.html.markdown
+++ b/nix.html.markdown
@@ -355,7 +355,7 @@ with builtins; [
# its contents. You can read files from anywhere. In this example,
# we write a file into the store, and then read it back out.
(let filename = toFile "foo.txt" "hello!"; in
- [filename (builtins.readFile filename)])
+ [filename (readFile filename)])
#=> [ "/nix/store/ayh05aay2anx135prqp0cy34h891247x-foo.txt" "hello!" ]
# We can also download files into the Nix store.