Remove spurious builtins. (#4086)

I am just getting started, but believe this `builtins.` name spacing here can go
This commit is contained in:
Florian Sesser 2023-12-14 14:55:30 +00:00 committed by GitHub
parent 9f317de120
commit 79538b5bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ with builtins; [
# its contents. You can read files from anywhere. In this example, # its contents. You can read files from anywhere. In this example,
# we write a file into the store, and then read it back out. # we write a file into the store, and then read it back out.
(let filename = toFile "foo.txt" "hello!"; in (let filename = toFile "foo.txt" "hello!"; in
[filename (builtins.readFile filename)]) [filename (readFile filename)])
#=> [ "/nix/store/ayh05aay2anx135prqp0cy34h891247x-foo.txt" "hello!" ] #=> [ "/nix/store/ayh05aay2anx135prqp0cy34h891247x-foo.txt" "hello!" ]
# We can also download files into the Nix store. # We can also download files into the Nix store.