From 107b43ae9688360dcfeb3dd28b98fc55e8bdf9ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 8 Aug 2021 05:22:27 +0200 Subject: [PATCH] yder: format, cleanup --- pkgs/development/libraries/yder/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/yder/default.nix b/pkgs/development/libraries/yder/default.nix index df36f48648d..aa924e755d0 100644 --- a/pkgs/development/libraries/yder/default.nix +++ b/pkgs/development/libraries/yder/default.nix @@ -1,7 +1,14 @@ -{ stdenv, lib, fetchFromGitHub, cmake, orcania, systemd, check, subunit +{ stdenv +, lib +, fetchFromGitHub +, cmake +, orcania +, systemd +, check +, subunit , withSystemd ? stdenv.isLinux }: -assert withSystemd -> systemd != null; + stdenv.mkDerivation rec { pname = "yder"; version = "1.4.12"; @@ -21,7 +28,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; - buildInputs = [ orcania ] ++ lib.optional withSystemd systemd; + buildInputs = [ orcania ] + ++ lib.optional withSystemd systemd; checkInputs = [ check subunit ];