[Nix-dev] How to ensure that a directory exists via configuration.nix
Danylo Hlynskyi
abcz2.uprola at gmail.com
Sun Feb 12 10:44:07 CET 2017
There exists also a systemd.tmpfiles.rules option. (which doesn't trigger
on system activation, howewer, only on boot)
I had problems with creating folders in activation scripts on mounted
disks, can't say any concrete for now, just experience.
2017-02-10 18:14 GMT+02:00 Mark Gardner <mkg at vt.edu>:
>
>
> On Fri, Feb 10, 2017 at 11:11 AM, David Izquierdo <thecofee at gmail.com>
> wrote:
>
>> Is there any reason not to use `mkdir -p`, to spare yourself the if?
>
>
> Didn't think of it...? :-)
>
> Mark
> --
> Mark Gardner
> --
>
> _______________________________________________
> 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/20170212/6eed6ffb/attachment.html>
More information about the nix-dev
mailing list