formatting
This commit is contained in:
parent
ff11a17ff1
commit
07cd2fc2f9
@ -19,9 +19,6 @@
|
|||||||
pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
|
pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
|
||||||
poetry = forAllSystems (system: poetry2nix.lib.mkPoetry2Nix {pkgs = pkgs.${system};});
|
poetry = forAllSystems (system: poetry2nix.lib.mkPoetry2Nix {pkgs = pkgs.${system};});
|
||||||
in {
|
in {
|
||||||
# `nix fmt`
|
|
||||||
formatter = forAllSystems (system: pkgs.${system}.alejandra);
|
|
||||||
|
|
||||||
# `nix build`
|
# `nix build`
|
||||||
packages = forAllSystems (system: {
|
packages = forAllSystems (system: {
|
||||||
default = poetry.${system}.mkPoetryApplication {
|
default = poetry.${system}.mkPoetryApplication {
|
||||||
@ -29,6 +26,9 @@
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# `nix fmt`
|
||||||
|
formatter = forAllSystems (system: pkgs.${system}.alejandra);
|
||||||
|
|
||||||
# `nix develop`
|
# `nix develop`
|
||||||
devShells = forAllSystems (system: {
|
devShells = forAllSystems (system: {
|
||||||
default = pkgs.${system}.mkShellNoCC {
|
default = pkgs.${system}.mkShellNoCC {
|
||||||
|
Loading…
Reference in New Issue
Block a user