[Nix-dev] Re: udev-153
Yury G. Kudryashov
urkud+nix at ya.ru
Fri Apr 23 11:04:02 CEST 2010
Eelco Dolstra wrote:
> Hi,
>
>> I propose to use /var/run/firmware:/root/test-firmware path, and symlink
>> /var/run/firmware to /nix/store/hash-firmware. /nix/store/hash-firmware
>> will contain symlinks to all files in hardware.firmware directory. This
>> will not allow us to modify the set of firmware files symlinked to
>> /var/run/firmware after the system is built, but for emergency case we'll
>> have impure /root/test-firmware path.
>
> Sounds good, but to improve the atomicity of switching to a new
> configuration, you could use /var/run/current-system/firmware instead of
> /var/run/firmware (and then create a "firmware" symlink in the "system"
> derivation).
Actually, I've commited /etc/firmware yesterday. Of course, /etc/firmware
will be symlinked to /etc/static/firmware.
More information about the nix-dev
mailing list