From a108a3b62037129fa6f4a5e8dc00cb0227e49e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anselm=20Sch=C3=BCler?= Date: Sun, 13 Mar 2022 15:51:46 +0100 Subject: [PATCH] Fix invalid URL in flake names example --- rfcs/0123-flake-names.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rfcs/0123-flake-names.md b/rfcs/0123-flake-names.md index 714261e..0801201 100644 --- a/rfcs/0123-flake-names.md +++ b/rfcs/0123-flake-names.md @@ -33,7 +33,7 @@ The derivation that contains the flake’s content is called `flake-source-${nam Example: -File `./example/flake.nix` +File `/example/flake.nix` ```nix { name = "example"; @@ -45,12 +45,13 @@ File `./example/flake.nix` Shell ```console -$ nix eval git+file://./example +$ nix eval git+file:///example […] copying flake-source-example "example" -$ nix flake metadata ./example +$ nix flake metadata /example Name: example -Resolved URL: … +Resolved URL: git+file:///example +Locked URL: … ``` # Drawbacks