From 4f1da3ec5e74be151e62a3a748e392f6d4b80c71 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:52:08 +0100 Subject: [PATCH] nvc: reformat --- pkgs/by-name/nv/nvc/package.nix | 52 ++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/pkgs/by-name/nv/nvc/package.nix b/pkgs/by-name/nv/nvc/package.nix index 7f865f6af2f0..56677784e467 100644 --- a/pkgs/by-name/nv/nvc/package.nix +++ b/pkgs/by-name/nv/nvc/package.nix @@ -1,17 +1,18 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, check -, flex -, pkg-config -, which -, elfutils -, libffi -, llvm -, zlib -, zstd -, apple-sdk_11 +{ + lib, + stdenv, + fetchFromGitHub, + autoreconfHook, + check, + flex, + pkg-config, + which, + elfutils, + libffi, + llvm, + zlib, + zstd, + apple-sdk_11, }: stdenv.mkDerivation rec { @@ -33,16 +34,19 @@ stdenv.mkDerivation rec { which ]; - buildInputs = [ - libffi - llvm - zlib - zstd - ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [ - elfutils - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ - apple-sdk_11 - ]; + buildInputs = + [ + libffi + llvm + zlib + zstd + ] + ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [ + elfutils + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + apple-sdk_11 + ]; preConfigure = '' mkdir build