From f29388f42b85375bdf8a68be71747b4ddc633a7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Wed, 4 May 2022 23:21:06 +0100 Subject: [PATCH] reformat flake --- flake.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index ecb8509..2d3ae08 100644 --- a/flake.nix +++ b/flake.nix @@ -14,8 +14,7 @@ let pkgs = nixpkgs.legacyPackages."${system}"; naersk-lib = naersk.lib."${system}"; - in - rec { + in rec { # `nix build` packages.bakare = naersk-lib.buildPackage { pname = "bakare"; @@ -24,9 +23,7 @@ defaultPackage = packages.bakare; # `nix run` - apps.bakare = utils.lib.mkApp { - drv = packages.bakare; - }; + apps.bakare = utils.lib.mkApp { drv = packages.bakare; }; defaultApp = apps.bakare; # `nix develop` @@ -49,7 +46,8 @@ rustc rustfmt ]; - RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; + RUST_SRC_PATH = + "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; }; }); }