581226cfb4
Or else `services.udev.packages = [ bcache-tools ]` cannot be used.
To not break bcache in the initrd I'm modifying this in stage-1.nix:
- --replace /bin/sh ${extraUtils}/bin/sh
+ --replace ${bash}/bin/sh ${extraUtils}/bin/sh
Reasoning behind that change:
* If not modifying the /bin/sh pattern in any way, it will also match
${bash}/bin/sh, creating a broken path like
/nix/store/HASH-bash/nix/store/HASH-bash/bin/sh in the udev rule file.
* The addition of /bin/sh was done in
|
||
---|---|---|
.. | ||
9pfs | ||
aefs | ||
afpfs-ng | ||
archivemount | ||
avfs | ||
bashmount | ||
bcache-tools | ||
bcachefs-tools | ||
bindfs | ||
bonnie | ||
boxfs | ||
btrfs-dedupe | ||
btrfs-progs | ||
ceph | ||
chunkfs | ||
ciopfs | ||
convoy | ||
curlftpfs | ||
darling-dmg | ||
davfs2 | ||
dislocker | ||
disorderfs | ||
djmount | ||
dosfstools | ||
duff | ||
duperemove | ||
e2fsprogs | ||
e2tools | ||
encfs | ||
exfat | ||
extundelete | ||
f2fs-tools | ||
f3 | ||
fatresize | ||
fatsort | ||
fsfs | ||
fuse-7z-ng | ||
fuseiso | ||
fusesmb | ||
gcsfuse | ||
genext2fs | ||
genimage | ||
genromfs | ||
gitfs | ||
glusterfs | ||
go-mtpfs | ||
gocrypfs | ||
gpart | ||
grive | ||
grive2 | ||
hfsprogs | ||
httpfs | ||
hubicfuse | ||
ifuse | ||
irods | ||
jfsutils | ||
jmtpfs | ||
lizardfs | ||
mergerfs | ||
mhddfs | ||
mp3fs | ||
mtdutils | ||
mtools | ||
mtpfs | ||
netatalk | ||
nilfs-utils | ||
nixpart | ||
ntfs-3g | ||
rdfind | ||
reiser4progs | ||
reiserfsprogs | ||
relfs | ||
s3backer | ||
s3fs | ||
securefs | ||
smbnetfs | ||
snapraid | ||
squashfs | ||
sshfs-fuse | ||
svnfs | ||
tmsu | ||
udftools | ||
unionfs-fuse | ||
vmfs-tools | ||
wdfs | ||
xfsprogs | ||
xtreemfs | ||
yandex-disk | ||
zerofree | ||
zfstools | ||
zkfuse |