fix(1b): merge devShells.${system} into one attr (dynamic-attr collision)
This commit is contained in:
19
flake.nix
19
flake.nix
@ -39,15 +39,16 @@
|
||||
];
|
||||
};
|
||||
|
||||
# Devshell for working on the harness/bridge locally.
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = (with pkgs; [ git jq curl ]) ++ lintTools;
|
||||
};
|
||||
|
||||
# `nix develop .#lint` — exactly the lint toolchain, nothing else. Used by `scripts/lint.sh`
|
||||
# and the `.drone.yml` lint stage.
|
||||
devShells.${system}.lint = pkgs.mkShell {
|
||||
packages = lintTools;
|
||||
devShells.${system} = {
|
||||
# Devshell for working on the harness/bridge locally (tools + lint toolchain).
|
||||
default = pkgs.mkShell {
|
||||
packages = (with pkgs; [ git jq curl ]) ++ lintTools;
|
||||
};
|
||||
# `nix develop .#lint` — exactly the lint toolchain, nothing else. Used by
|
||||
# `scripts/lint.sh` and the `.drone.yml` lint stage.
|
||||
lint = pkgs.mkShell {
|
||||
packages = lintTools;
|
||||
};
|
||||
};
|
||||
|
||||
formatter.${system} = pkgs.nixpkgs-fmt;
|
||||
|
||||
Reference in New Issue
Block a user