Unverified Commit b1289290 authored by Kenichi Kamiya's avatar Kenichi Kamiya
Browse files

nix-init: format with nixfmt-rfc-style

parent 2f5bba60
Loading
Loading
Loading
Loading
+33 −29
Original line number Diff line number Diff line
{ lib
, writeText
, rustPlatform
, fetchFromGitHub
, curl
, installShellFiles
, pkg-config
, bzip2
, libgit2
, openssl
, zlib
, zstd
, stdenv
, darwin
, spdx-license-list-data
, nix
, nurl
{
  lib,
  writeText,
  rustPlatform,
  fetchFromGitHub,
  curl,
  installShellFiles,
  pkg-config,
  bzip2,
  libgit2,
  openssl,
  zlib,
  zstd,
  stdenv,
  darwin,
  spdx-license-list-data,
  nix,
  nurl,
}:

let
@@ -44,16 +45,19 @@ rustPlatform.buildRustPackage rec {
    pkg-config
  ];

  buildInputs = [
  buildInputs =
    [
      bzip2
      curl
      libgit2
      openssl
      zlib
      zstd
  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      darwin.apple_sdk.frameworks.Security
  ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
    ]
    ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
      darwin.apple_sdk.frameworks.CoreFoundation
    ];