Skip to content

Commit

Permalink
Update shell.nix (fixes Mac)
Browse files Browse the repository at this point in the history
Also clean up a lint error in .golanci.yml

Signed-off-by: Nahum Shalman <[email protected]>
  • Loading branch information
nshalman committed Dec 2, 2021
1 parent 058a1c9 commit c28f5b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ linters:
- wastedassign
- whitespace


# Disabled linters, due to being misaligned with Go practices
# - exhaustivestruct
# - gochecknoglobals
Expand Down
12 changes: 6 additions & 6 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
let _pkgs = import <nixpkgs> { };
in { pkgs ? import (_pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs-channels";
#branch@date: nixpkgs-unstable@2020-09-11
rev = "6d4b93323e7f78121f8d6db6c59f3889aa1dd931";
sha256 = "0g2j41cx2w2an5d9kkqvgmada7ssdxqz1zvjd7hi5vif8ag0v5la";
repo = "nixpkgs";
#branch@date: 21.11@2021-12-02
rev = "21.11";
sha256 = "sha256-AjhmbT4UBlJWqxY0ea8a6GU2C2HdKUREkG43oRr3TZg=";
}) { } }:

with pkgs;
Expand All @@ -14,12 +14,12 @@ mkShell {
git
gnumake
gnused
go
go_1_17
jq
nixfmt
nodePackages.prettier
protobuf
pythonPackages.codespell
python3Packages.codespell
shfmt
shellcheck
vagrant
Expand Down

0 comments on commit c28f5b3

Please sign in to comment.