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} = {
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
# Devshell for working on the harness/bridge locally (tools + lint toolchain).
|
||||||
packages = (with pkgs; [ git jq curl ]) ++ lintTools;
|
default = pkgs.mkShell {
|
||||||
};
|
packages = (with pkgs; [ git jq curl ]) ++ lintTools;
|
||||||
|
};
|
||||||
# `nix develop .#lint` — exactly the lint toolchain, nothing else. Used by `scripts/lint.sh`
|
# `nix develop .#lint` — exactly the lint toolchain, nothing else. Used by
|
||||||
# and the `.drone.yml` lint stage.
|
# `scripts/lint.sh` and the `.drone.yml` lint stage.
|
||||||
devShells.${system}.lint = pkgs.mkShell {
|
lint = pkgs.mkShell {
|
||||||
packages = lintTools;
|
packages = lintTools;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
formatter.${system} = pkgs.nixpkgs-fmt;
|
formatter.${system} = pkgs.nixpkgs-fmt;
|
||||||
|
|||||||
Reference in New Issue
Block a user