make-initrd{,-ng}
In reply to @elvishjerricco:matrix.orgMarcel: yea if you want to do closureinfo stuff to get full closures into systemd initrd I was thinking of something like this: { boot.initrd.systemd.storePaths = [ (runCommand "x" { info = closureInfo { rootPaths = [ hello ]; }; } '' mkdir $out cat "$info"/store-paths | while read path; do ln -s "$path" "$out/$(basename "$path")" done '' ) ]; }
Marcel: yea if you want to do closureinfo stuff to get full closures into systemd initrd I was thinking of something like this:
{ boot.initrd.systemd.storePaths = [ (runCommand "x" { info = closureInfo { rootPaths = [ hello ]; }; } '' mkdir $out cat "$info"/store-paths | while read path; do ln -s "$path" "$out/$(basename "$path")" done '' ) ]; }