[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17706 - rob - nixos/trunk/modules/services/backup

Nicolas Pierron nicolas.b.pierron at gmail.com
Wed Oct 7 22:25:03 CEST 2009


Hi Rob,

On Wed, Oct 7, 2009 at 22:05, Rob Vermaas <rob.vermaas at gmail.com> wrote:
> Modified: nixos/trunk/modules/services/backup/sitecopy-backup.nix
> ===================================================================
> --- nixos/trunk/modules/services/backup/sitecopy-backup.nix     2009-10-07 17:14:25 UTC (rev 17705)
> +++ nixos/trunk/modules/services/backup/sitecopy-backup.nix     2009-10-07 20:05:08 UTC (rev 17706)
> @@ -67,7 +67,7 @@
>     };
>
>
> -    system.activationScripts.postgresqlBackup =
> +    system.activationScripts.sitecopyBackup =
>       pkgs.stringsWithDeps.noDepEntry ''

Your activation script must specify its dependencies.
With noDepEntry, this means that your activation script can be
executed first which is not the case because the two following lines
are requiring at least the path and the user to be set.

>           mkdir -m 0700 -p ${stateDir}
>           chown root ${stateDir}
>



-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron
Donald Knuth - I can't go to a restaurant because I keep looking at
the fonts on the menu.



More information about the nix-dev mailing list