Hi,

Marc Weber <[email protected]> writes:

> Do you mind me comitting this to NixOS ?
>
> commit 776312087c01271ea127daa92abe5742ba53b230
> Author: Marc Weber <[email protected]>
> Date:   Tue Apr 27 03:40:54 2010 +0200
>
>     add system.extraSystemBuilderCmds option which can be used to copy
>     configuration.nix to the system store path. This may be helpful to track
>     down regressions faster.

Wouldn’t it be friendlier to have a specific option, like
‘copySystemConfiguration’?

> +      description = ''
> +        You can add additional commands which will be executed when creating
> +        the system derivation. One usage example is:
> +        cp /etc/nixos/configuration.nix $out

The command should be enclosed in a <command> tag.

Thanks,
Ludo’.

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to