nix-init: format with nixfmt-rfc-style
This commit is contained in:
parent
2f5bba6041
commit
b128929035
@ -1,20 +1,21 @@
|
||||
{ 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,18 +45,21 @@ rustPlatform.buildRustPackage rec {
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bzip2
|
||||
curl
|
||||
libgit2
|
||||
openssl
|
||||
zlib
|
||||
zstd
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
];
|
||||
buildInputs =
|
||||
[
|
||||
bzip2
|
||||
curl
|
||||
libgit2
|
||||
openssl
|
||||
zlib
|
||||
zstd
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
];
|
||||
|
||||
buildNoDefaultFeatures = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user