nixos/elasticsearch: fix evaluation on systems without unfree set
This commit is contained in:
parent
d50253237e
commit
c9b41aa81f
@ -5,7 +5,7 @@ with lib;
|
|||||||
let
|
let
|
||||||
cfg = config.services.elasticsearch;
|
cfg = config.services.elasticsearch;
|
||||||
|
|
||||||
es6 = builtins.compareVersions (builtins.parseDrvName cfg.package.name).version "6" >= 0;
|
es6 = builtins.compareVersions cfg.package.version "6" >= 0;
|
||||||
|
|
||||||
esConfig = ''
|
esConfig = ''
|
||||||
network.host: ${cfg.listenAddress}
|
network.host: ${cfg.listenAddress}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user