generated from brevdev/seed
-
Notifications
You must be signed in to change notification settings - Fork 16
/
shell.nix
37 lines (36 loc) · 1.23 KB
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ system ? builtins.currentSystem, pkgs ? import <nixpkgs> { inherit system; } }:
with pkgs;
let
pkgs = import (builtins.fetchGit {
# Descriptive name to make the store path easier to identify
name = "my-old-revision";
url = "https://github.com/NixOS/nixpkgs/";
ref = "refs/heads/nixpkgs-unstable";
rev = "ff8b619cfecb98bb94ae49ca7ceca937923a75fa";
# }) {};
}) {
inherit system;
};
flake-utils = {
url = "github:numtide/flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
olderVersionOfGolangci-lint = pkgs.golangci-lint;
# system = builtins.currentSystem;
in
mkShell {
nativeBuildInputs = [
go_1_19
gopls
tmux
gofumpt
olderVersionOfGolangci-lint
gosec
delve
go-tools
gotests
gomodifytags
];
# pkgs.system="x86_64-linux";
}
# )