Remove trailing slash in mach-nix url
This commit is contained in:
parent
d884751a1c
commit
19fcc8ebf3
3 changed files with 5 additions and 5 deletions
|
@ -101,7 +101,7 @@ You can call mach-nix directly from a nix expression
|
||||||
```nix
|
```nix
|
||||||
let
|
let
|
||||||
mach-nix = import (builtins.fetchGit {
|
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";
|
ref = "refs/tags/3.3.0";
|
||||||
}) {};
|
}) {};
|
||||||
in
|
in
|
||||||
|
|
|
@ -44,7 +44,7 @@ every mach-nix expression should begin like this:
|
||||||
```nix
|
```nix
|
||||||
let
|
let
|
||||||
mach-nix = import (builtins.fetchGit {
|
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";
|
ref = "refs/tags/3.3.0";
|
||||||
}) {
|
}) {
|
||||||
# optionally bring your own nixpkgs
|
# optionally bring your own nixpkgs
|
||||||
|
@ -280,7 +280,7 @@ In this example, mach-nix is used to resolve our python dependencies and provide
|
||||||
```nix
|
```nix
|
||||||
let
|
let
|
||||||
mach-nix = import (builtins.fetchGit {
|
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
|
ref = "refs/heads/3.3.0"; # update this version
|
||||||
}) {
|
}) {
|
||||||
python = "python37";
|
python = "python37";
|
||||||
|
@ -402,7 +402,7 @@ For the SD-image, create a configuration.nix file which adds the mach-nix tool a
|
||||||
|
|
||||||
let
|
let
|
||||||
machNix = import (builtins.fetchGit {
|
machNix = import (builtins.fetchGit {
|
||||||
url = "https://github.com/DavHau/mach-nix/";
|
url = "https://github.com/DavHau/mach-nix";
|
||||||
ref = "refs/tags/put_version_here";
|
ref = "refs/tags/put_version_here";
|
||||||
}) { inherit pkgs; };
|
}) { inherit pkgs; };
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
let
|
let
|
||||||
mach-nix = import (builtins.fetchGit {
|
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";
|
ref = "refs/tags/3.2.0";
|
||||||
}) {};
|
}) {};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue