apcupsd: add missing assert
This commit is contained in:
parent
694eb12f5f
commit
1d896c47c9
@ -2,6 +2,8 @@
|
|||||||
, enableCgiScripts ? true, gd
|
, enableCgiScripts ? true, gd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
assert enableCgiScripts -> gd != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "apcupsd";
|
pname = "apcupsd";
|
||||||
name = "${pname}-3.14.12";
|
name = "${pname}-3.14.12";
|
||||||
|
Loading…
Reference in New Issue
Block a user