apcupsd: add missing assert
This commit is contained in:
parent
694eb12f5f
commit
1d896c47c9
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
, enableCgiScripts ? true, gd
|
||||
}:
|
||||
|
||||
assert enableCgiScripts -> gd != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "apcupsd";
|
||||
name = "${pname}-3.14.12";
|
||||
|
|
Loading…
Reference in a new issue