From 191678f9d6ec6c0142b75a020880fbe34410b90e Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Thu, 13 Jan 2022 00:15:04 +0100 Subject: [PATCH 1/2] docs: add nix as an installation method --- docs/installation.md | 13 +++++++++++++ docs/releasing_task.md | 7 +++++++ 2 files changed, 20 insertions(+) diff --git a/docs/installation.md b/docs/installation.md index 86008a9b..1f9cbfbd 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -51,6 +51,19 @@ yay -S taskfile-git This installation method is community owned, but since it's `-git` version of the package, it's always latest available version based on the Git repository. + +#### **Nix** + +If you're on NixOS or have Nix installed +you can install Task from [nixpkgs](https://github.com/NixOS/nixpkgs): + +```cmd +nix-env -iA nixpkgs.go-task +``` + +This installation method is community owned. After a new release of Task, it +may take some time until it's available in [nixpkgs](https://github.com/NixOS/nixpkgs). + ## Get The Binary diff --git a/docs/releasing_task.md b/docs/releasing_task.md index 2780d015..b6dccccf 100644 --- a/docs/releasing_task.md +++ b/docs/releasing_task.md @@ -31,6 +31,13 @@ of updating versions there by editing [this file](https://github.com/lukesampson/scoop-extras/blob/master/bucket/task.json). If you think its Task version is outdated, open an issue to let us know. +# Nix + +Nix is a community owned installation method. Nix package maintainers usually take care +of updating versions there by editing +[this file](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/tools/go-task/default.nix#L34). +If you think its Task version is outdated, open an issue to let us know. + [goreleaser]: https://goreleaser.com/#continuous_integration [homebrewtap]: https://github.com/go-task/homebrew-tap [gotaskrb]: https://github.com/go-task/homebrew-tap/blob/master/Formula/go-task.rb From 086d13ca2ffafdfd56491bfd60885c3fdf98de9b Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Thu, 13 Jan 2022 10:39:38 -0300 Subject: [PATCH 2/2] Docs: Remove line reference from file link --- docs/releasing_task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releasing_task.md b/docs/releasing_task.md index b6dccccf..810ad75f 100644 --- a/docs/releasing_task.md +++ b/docs/releasing_task.md @@ -35,7 +35,7 @@ If you think its Task version is outdated, open an issue to let us know. Nix is a community owned installation method. Nix package maintainers usually take care of updating versions there by editing -[this file](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/tools/go-task/default.nix#L34). +[this file](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/tools/go-task/default.nix). If you think its Task version is outdated, open an issue to let us know. [goreleaser]: https://goreleaser.com/#continuous_integration