[Nix-dev] Accessing systemPackages from postStart

Domen Kožar domen at dev.si
Mon Jan 18 19:37:15 CET 2016


See
http://nixos.org/nixos/manual/options.html#opt-systemd.services._name_.path

On Mon, Jan 18, 2016 at 7:35 PM, Taeer Bar-Yam <tb442 at cornell.edu> wrote:

> General problem:
>   How do I access command line tools (that are in systemPackages) from
> some systemd.services.<name>.postStart?
> Specific problem:
>   I want that when mopidy starts up, use mpc to select a playlist and turn
> on shuffle. However, I am getting an `mpc: command not found` error. I can
> access mpc normally, just not from this startup script (declared as
> systemd.services.mopidy.postStart = "<call mpc here>")
>
>   --Taeer
> _______________________________________________
> 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/20160118/d6acf9a4/attachment.html 


More information about the nix-dev mailing list