mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
style(nix): move formatter to the top
This commit is contained in:
@@ -22,6 +22,8 @@
|
|||||||
}: let
|
}: let
|
||||||
packageToml = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package;
|
packageToml = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package;
|
||||||
in {
|
in {
|
||||||
|
formatter = pkgs.alejandra;
|
||||||
|
|
||||||
_module.args = {
|
_module.args = {
|
||||||
pkgs = import inputs.nixpkgs {
|
pkgs = import inputs.nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
@@ -29,8 +31,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
formatter = pkgs.alejandra;
|
|
||||||
|
|
||||||
devShells = pkgs.callPackages ./shell.nix {inherit packageToml self';};
|
devShells = pkgs.callPackages ./shell.nix {inherit packageToml self';};
|
||||||
|
|
||||||
packages.default = pkgs.callPackage ./default.nix {inherit packageToml;};
|
packages.default = pkgs.callPackage ./default.nix {inherit packageToml;};
|
||||||
|
|||||||
Reference in New Issue
Block a user