-
-
Notifications
You must be signed in to change notification settings - Fork 302
Expand file tree
/
Copy pathshell.nix
More file actions
26 lines (24 loc) · 533 Bytes
/
shell.nix
File metadata and controls
26 lines (24 loc) · 533 Bytes
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
{
pkgs ? import <nixpkgs> { },
}:
let
unstableTarball = builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
unstablePkgs = import unstableTarball { };
in
pkgs.mkShell {
buildInputs = with pkgs; [
libpcap
];
packages = with pkgs; [
go_1_26
goreleaser
gopls
golangci-lint-langserver
unstablePkgs.golangci-lint
(pkgs.python312.withPackages (pyPkgs: with pyPkgs; [ mkdocs-material ]))
];
shellHook = # sh
''
export name="nix:spoofdpi"
'';
}