From 19fcc8ebf36e2cc0a1f34ebe4611f084a5715d9c Mon Sep 17 00:00:00 2001 From: Gregor Pogacnik <1640719+fiksn@users.noreply.github.com> Date: Fri, 23 Jul 2021 15:03:32 +0200 Subject: [PATCH] Remove trailing slash in mach-nix url --- Readme.md | 2 +- examples.md | 6 +++--- pypi-crawlers/nix/python.nix | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index c30d7a3..88922a7 100644 --- a/Readme.md +++ b/Readme.md @@ -101,7 +101,7 @@ You can call mach-nix directly from a nix expression ```nix let mach-nix = import (builtins.fetchGit { - url = "https://github.com/DavHau/mach-nix/"; + url = "https://github.com/DavHau/mach-nix"; ref = "refs/tags/3.3.0"; }) {}; in diff --git a/examples.md b/examples.md index fe26a65..f223d60 100644 --- a/examples.md +++ b/examples.md @@ -44,7 +44,7 @@ every mach-nix expression should begin like this: ```nix let mach-nix = import (builtins.fetchGit { - url = "https://github.com/DavHau/mach-nix/"; + url = "https://github.com/DavHau/mach-nix"; ref = "refs/tags/3.3.0"; }) { # optionally bring your own nixpkgs @@ -280,7 +280,7 @@ In this example, mach-nix is used to resolve our python dependencies and provide ```nix let mach-nix = import (builtins.fetchGit { - url = "https://github.com/DavHau/mach-nix/"; + url = "https://github.com/DavHau/mach-nix"; ref = "refs/heads/3.3.0"; # update this version }) { python = "python37"; @@ -402,7 +402,7 @@ For the SD-image, create a configuration.nix file which adds the mach-nix tool a let machNix = import (builtins.fetchGit { - url = "https://github.com/DavHau/mach-nix/"; + url = "https://github.com/DavHau/mach-nix"; ref = "refs/tags/put_version_here"; }) { inherit pkgs; }; diff --git a/pypi-crawlers/nix/python.nix b/pypi-crawlers/nix/python.nix index 85f7815..5fa5929 100644 --- a/pypi-crawlers/nix/python.nix +++ b/pypi-crawlers/nix/python.nix @@ -1,6 +1,6 @@ let mach-nix = import (builtins.fetchGit { - url = "https://github.com/DavHau/mach-nix/"; + url = "https://github.com/DavHau/mach-nix"; ref = "refs/tags/3.2.0"; }) {}; in