Create an openapi
dev shell
Move the openapi flake to the root level and refactor to a devshell called `openapi`. The other flake.nix files will be similarly combined in future commits. Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
c7aaa19534
commit
92c10ef33e
5 changed files with 10 additions and 8 deletions
0
openapi/flake.lock → flake.lock
generated
0
openapi/flake.lock → flake.lock
generated
|
@ -18,14 +18,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
devShells.${system} = {
|
||||||
packages = with pkgs; [
|
openapi = pkgs.mkShell {
|
||||||
openapi-generator-cli
|
packages = with pkgs; [
|
||||||
openapi-tui
|
openapi-generator-cli
|
||||||
|
openapi-tui
|
||||||
|
|
||||||
self.packages.${system}.openapi-generate-html
|
self.packages.${system}.openapi-generate-html
|
||||||
self.packages.${system}.openapi-mock
|
self.packages.${system}.openapi-mock
|
||||||
];
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -1 +1 @@
|
||||||
use flake
|
use flake ..#openapi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue