aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-05-04 16:55:27 -0700
committerJade Lovelace <lix@jade.fyi>2024-05-04 16:55:27 -0700
commit4886d4592ba2158752ef28e36dc30566953490d1 (patch)
tree70ed89a6e3cabc325cd10d80435f2998ad0544d4 /src
parent8dfb30a2355be667fcb947ea995669c801534fbf (diff)
Remove a URL literal from fetchTarball docs
Change-Id: I254b793b42f77ffe9f357f3b376683e5758f23b5
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/primops/fetchTree.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchTree.cc b/src/libexpr/primops/fetchTree.cc
index cc84e89b0..2e58be45d 100644
--- a/src/libexpr/primops/fetchTree.cc
+++ b/src/libexpr/primops/fetchTree.cc
@@ -319,7 +319,7 @@ static RegisterPrimOp primop_fetchTarball({
a particular version of Nixpkgs, e.g.
```nix
- with import (fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-14.12.tar.gz) {};
+ with import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-14.12.tar.gz") {};
stdenv.mkDerivation { … }
```