mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Remove spurious builtins.
(#4086)
I am just getting started, but believe this `builtins.` name spacing here can go
This commit is contained in:
parent
9f317de120
commit
79538b5bcb
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user