mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 11:36:11 +01:00
shell: include treefmt wrapper
This commit is contained in:
parent
a45fa0648d
commit
b1231eafb1
2 changed files with 5 additions and 3 deletions
|
|
@ -28,7 +28,9 @@
|
|||
nixVersion = "unstable";
|
||||
};
|
||||
};
|
||||
devShells.default = pkgs.callPackage ./shell.nix { };
|
||||
devShells.default = pkgs.callPackage ./shell.nix {
|
||||
packages = [ config.treefmt.build.wrapper ];
|
||||
};
|
||||
apps.test-runner = {
|
||||
type = "app";
|
||||
program = "${config.packages.test-runner}";
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
{ pkgs ? import <nixpkgs> { }, packages ? [ ] }:
|
||||
|
||||
with pkgs;
|
||||
mkShell {
|
||||
nativeBuildInputs = [
|
||||
packages = packages ++ [
|
||||
python3.pkgs.pytest
|
||||
python3.pkgs.mypy
|
||||
ruff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue