[Nix-dev] Override systemd service definition generated by nixos service

Maarten Hoogendoorn maarten at moretea.nl
Thu Jul 14 15:21:20 CEST 2016


That did the trick for making programs available, thanks.

2016-07-13 15:02 GMT+02:00 Rickard Nilsson <rickard.nilsson at telia.com>:

> Hi,
>
> On 07/13/2016 02:27 PM, Maarten Hoogendoorn wrote:
> > Hi,
> >
> > I have to make some other derivations visible to mesos, and the jdk in
> > particular.
> >
> > What would be the best way forward: to override the mesos package, or
> > the service?
> > Alternatively, I could create a wrapper derivation (mesos-with-jdk), and
> > make the package used by the mesos service configurable.
> >
> > I'd like to hear your thoughts about these options.
>
> In what sense should jdk be available to mesos? Like, in the PATH? If
> so, you could just add this to your config:
>
>   services.mesos-master.path = [ pkgs.jdk ];
>
> (and do the same to any other mesos services needing jdk)
>
> If this is not something that is specific to your environment, I suggest
> opening a PR.
>
>
>   / Rickard
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160714/d18ae4ad/attachment.html>


More information about the nix-dev mailing list