gss: Remove redundant nulls

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
toonn 2021-10-25 21:11:45 +02:00
parent c0a942531b
commit 7d1c3145fa
No known key found for this signature in database
GPG Key ID: A1756943D328A924

View File

@ -1,9 +1,7 @@
{ lib, stdenv, fetchurl
, withShishi ? !stdenv.isDarwin, shishi ? null
, withShishi ? !stdenv.isDarwin, shishi
}:
assert withShishi -> shishi != null;
stdenv.mkDerivation rec {
name = "gss-1.0.3";
@ -15,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = lib.optional withShishi shishi;
configureFlags = [
"--${if withShishi != null then "enable" else "disable"}-kerberos5"
"--${if withShishi then "enable" else "disable"}-kerberos5"
];
doCheck = true;