We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
commands
1 parent 2d66d10 commit 92c8631Copy full SHA for 92c8631
1 file changed
flake.nix
@@ -38,7 +38,31 @@
38
};
39
40
41
- devShells.default = devshell.fromTOML ./devshell.toml;
+ devShells = {
42
+ default = devshell.mkShell {
43
+ commands = {
44
+ packages = [
45
+ "diffutils" # used by golangci-lint
46
+ "goreleaser"
47
+ ];
48
+ scripts = [
49
+ {
50
+ prefix = "nix run .#";
51
+ inherit packages;
52
+ }
53
54
+ name = "nix fmt";
55
+ help = "format Nix files";
56
57
58
+ utilites = [
59
+ [ "GitHub utility" "gitAndTools.hub" ]
60
+ [ "golang linter" "golangci-lint" ]
61
62
+ };
63
64
+ toml = devshell.fromTOML ./devshell.toml;
65
66
67
legacyPackages = import inputs.self {
68
inherit system;
0 commit comments