[Nix-dev] I broke btrfs :(

Eelco Dolstra eelco.dolstra at logicblox.com
Mon May 13 23:01:51 CEST 2013


Hi,

On 13/05/13 22:42, Mathijs Kwik wrote:

> It appears I've broken btrfs root booting.
> The upgraded version needs 2 more libraries (or a static build).
> I can just have the nixos btrfs module copy these to ramdisk, but I
> believe I remember some automatic functionality that did this, or at
> least detect this type of breakage?

I don't think there is, except that you can set
boot.initrd.extraUtilsCommandsTest to test the initrd binaries (e.g. we run
"$out/bin/udevadm --version" to see if all its dynamic library dependencies are
there).

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list