From 9168d646e8b56302103c3793ef2001acea8f753b Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 22 Feb 2023 18:25:01 +0000 Subject: [PATCH] chore: reformat Nix files with `alejandra` --- flake.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index e709593..a64a0f1 100644 --- a/flake.nix +++ b/flake.nix @@ -54,13 +54,14 @@ pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; craneLib = (crane.mkLib pkgs).overrideToolchain rustStable; src = ./.; - nativeBuildInputs = with pkgs; - [ - perl - pkg-config - openssl - ]; - buildInputs = [pkgs.openssl] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin + nativeBuildInputs = with pkgs; [ + perl + pkg-config + openssl + ]; + buildInputs = + [pkgs.openssl] + ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [pkgs.darwin.apple_sdk.frameworks.Security]; cargoArtifacts = craneLib.buildDepsOnly {inherit src buildInputs nativeBuildInputs;};