File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ indent_size = 4
77trim_trailing_whitespace = true
88insert_final_newline = true
99
10- [* .{json,yml,yaml} ]
10+ [* .{json,nix, yml,yaml} ]
1111indent_size = 2
Original file line number Diff line number Diff line change 1+ use_nix
Original file line number Diff line number Diff line change 1+ { buildGoModule , fetchFromGitHub } :
2+ buildGoModule rec {
3+ pname = "go-task" ;
4+ version = "3.19.1" ;
5+
6+ src = fetchFromGitHub {
7+ rev = "v${ version } " ;
8+ owner = "go-task" ;
9+ repo = "task" ;
10+ sha256 = "sha256-MtbgFx/+SVBcV6Yp1WEwKLQGx5oPxvqljtXeyUYNS+I=" ;
11+ } ;
12+
13+ # FIXME: compute vendor hash in order to fetch dependencies into vendor directory
14+ vendorHash = null ;
15+ }
Original file line number Diff line number Diff line change 1+ { pkgs ? import <nixpkgs> { } } :
2+ let goTask = pkgs . callPackage ./nix/go-task.nix { } ; in
3+ pkgs . mkShell {
4+ buildInputs = [
5+ goTask
6+ ] ;
7+ }
You can’t perform that action at this time.
0 commit comments