From 548c2377fa81e2abfc192fbf4f521e601251c468 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Mon, 29 Jul 2024 18:26:30 +0200 Subject: [PATCH] nfd: format with nixfmt-rfc-style --- pkgs/servers/nfd/default.nix | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/pkgs/servers/nfd/default.nix b/pkgs/servers/nfd/default.nix index 3b82dbffabe6..49730f44848d 100644 --- a/pkgs/servers/nfd/default.nix +++ b/pkgs/servers/nfd/default.nix @@ -1,17 +1,18 @@ -{ lib -, stdenv -, boost -, fetchFromGitHub -, libpcap -, ndn-cxx -, openssl -, pkg-config -, sphinx -, systemd -, wafHook -, websocketpp -, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd -, withWebSocket ? true +{ + lib, + stdenv, + boost, + fetchFromGitHub, + libpcap, + ndn-cxx, + openssl, + pkg-config, + sphinx, + systemd, + wafHook, + websocketpp, + withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, + withWebSocket ? true, }: stdenv.mkDerivation rec { @@ -38,10 +39,7 @@ stdenv.mkDerivation rec { libpcap ndn-cxx openssl - ] ++ lib.optional withWebSocket websocketpp - ++ lib.optional withSystemd systemd; - - + ] ++ lib.optional withWebSocket websocketpp ++ lib.optional withSystemd systemd; wafConfigureFlags = [ "--boost-includes=${boost.dev}/include" "--boost-libs=${boost.out}/lib"