nvc: reformat
This commit is contained in:
parent
7c5948b7f9
commit
4f1da3ec5e
@ -1,17 +1,18 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, fetchFromGitHub
|
stdenv,
|
||||||
, autoreconfHook
|
fetchFromGitHub,
|
||||||
, check
|
autoreconfHook,
|
||||||
, flex
|
check,
|
||||||
, pkg-config
|
flex,
|
||||||
, which
|
pkg-config,
|
||||||
, elfutils
|
which,
|
||||||
, libffi
|
elfutils,
|
||||||
, llvm
|
libffi,
|
||||||
, zlib
|
llvm,
|
||||||
, zstd
|
zlib,
|
||||||
, apple-sdk_11
|
zstd,
|
||||||
|
apple-sdk_11,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -33,16 +34,19 @@ stdenv.mkDerivation rec {
|
|||||||
which
|
which
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
libffi
|
[
|
||||||
llvm
|
libffi
|
||||||
zlib
|
llvm
|
||||||
zstd
|
zlib
|
||||||
] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [
|
zstd
|
||||||
elfutils
|
]
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform elfutils) [
|
||||||
apple-sdk_11
|
elfutils
|
||||||
];
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
apple-sdk_11
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
mkdir build
|
mkdir build
|
||||||
|
Loading…
Reference in New Issue
Block a user