From d41aa2ab41bb83181971107ffc1dc148318f5d50 Mon Sep 17 00:00:00 2001 From: Skye Date: Thu, 14 Nov 2024 16:41:02 -0500 Subject: [PATCH] fomat `flake.nix` --- flake.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 0a0de22..ee9feee 100644 --- a/flake.nix +++ b/flake.nix @@ -1,19 +1,15 @@ { - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; - }; + inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; }; outputs = { self, nixpkgs }: - let pkgs = nixpkgs.legacyPackages.x86_64-linux; - inherit (pkgs) lib; - system = "x86_64-linux"; + let + pkgs = nixpkgs.legacyPackages.x86_64-linux; + inherit (pkgs) lib; + system = "x86_64-linux"; in rec { formatter."${system}" = pkgs.nixfmt-rfc-style; - devShells."${system}".default = pkgs.mkShell { - packages = [ - pkgs.mkvtoolnix-cli - ]; - }; + devShells."${system}".default = + pkgs.mkShell { packages = [ pkgs.mkvtoolnix-cli ]; }; overlays.default = final: prev: { subtitle-merge = final.rustPlatform.buildRustPackage {