aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.md
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-03-19 11:26:48 -0400
committerfigsoda <figsoda@pm.me>2023-03-19 11:28:10 -0400
commit54b8da0b1050d538a8fb640ba074d0cfe35807c1 (patch)
treea184ad2eb79eac3c0cef367e07f64af5a96d4d07 /src/nix/flake.md
parentb5b6055bbf00fa809633e88dab1e8eaec3ae9f8d (diff)
docs: quote URL literals
Diffstat (limited to 'src/nix/flake.md')
-rw-r--r--src/nix/flake.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/flake.md b/src/nix/flake.md
index 9073d0c3b..8eaa41b96 100644
--- a/src/nix/flake.md
+++ b/src/nix/flake.md
@@ -54,7 +54,7 @@ output attribute). They are also allowed in the `inputs` attribute
of a flake, e.g.
```nix
-inputs.nixpkgs.url = github:NixOS/nixpkgs;
+inputs.nixpkgs.url = "github:NixOS/nixpkgs";
```
is equivalent to
@@ -282,7 +282,7 @@ Nixpkgs flake and provides a single package (i.e. an
{
description = "A flake for building Hello World";
- inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-20.03;
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.03";
outputs = { self, nixpkgs }: {
@@ -374,7 +374,7 @@ inputs.nixpkgs = {
Alternatively, you can use the URL-like syntax:
```nix
-inputs.import-cargo.url = github:edolstra/import-cargo;
+inputs.import-cargo.url = "github:edolstra/import-cargo";
inputs.nixpkgs.url = "nixpkgs";
```