formatting

This commit is contained in:
Kristian Krsnik 2024-01-01 00:45:52 +01:00
parent ff11a17ff1
commit 07cd2fc2f9
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -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 {