diff --git a/flake.nix b/flake.nix index f13755a..c1f0ab4 100644 --- a/flake.nix +++ b/flake.nix @@ -22,6 +22,8 @@ }: let packageToml = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package; in { + formatter = pkgs.alejandra; + _module.args = { pkgs = import inputs.nixpkgs { inherit system; @@ -29,8 +31,6 @@ }; }; - formatter = pkgs.alejandra; - devShells = pkgs.callPackages ./shell.nix {inherit packageToml self';}; packages.default = pkgs.callPackage ./default.nix {inherit packageToml;};