nixpkgs/pkgs/tools/filesystems
Bjørn Forsman 581226cfb4 nixos/bcache: /bin/sh -> ${bash}/bin/sh
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 775f381a9e
  ("stage-1: add bcache support"). It seems somewhat plausible that
  no new users have appeared since then and we can take this opportunity
  to back out of this change without much fear of regressions.

  If there _are_ regressions, they should be in the form of build time
  errors, not runtime (boot), due to how the udev rule output is checked
  for invalid path references. So low risk, IMHO.

* An alternative approach could be to copy the /bin/sh substitute rule
  over to the non-initrd udev rules implementation in NixOS, but I think
  this way is better:
  - The rules file comes with a working path out of the box.
  - We can use more precise pattern matching when modifying the udev
    rules for the initrd.
2017-06-10 17:10:49 +02:00
..
9pfs
aefs
afpfs-ng afpfs-ng: init at 0.8.2 2016-10-09 20:13:49 +02:00
archivemount
avfs
bashmount
bcache-tools nixos/bcache: /bin/sh -> ${bash}/bin/sh 2017-06-10 17:10:49 +02:00
bcachefs-tools bcachefs-tools: 2017-05-08 -> 2017-05-12 2017-05-19 13:24:50 +01:00
bindfs
bonnie bonnie: fix on Darwin 2017-04-10 23:08:14 -04:00
boxfs
btrfs-dedupe btrfs-dedupe: dependency is broken on i686 2017-03-02 14:23:41 +01:00
btrfs-progs Revert "btrfs-progs: 4.8.2 -> 4.10.2" 2017-04-11 09:54:43 +03:00
ceph Introduce mapNullable into lib and use it in a few places 2017-04-17 17:04:04 -04:00
chunkfs
ciopfs
convoy convoy: init at 0.5.0 2016-11-30 23:28:18 +01:00
curlftpfs
darling-dmg Remove redundant -DCMAKE_BUILD_TYPE=Release flags 2016-10-01 16:13:41 +02:00
davfs2
dislocker
disorderfs disorderfs: 0.4.2 -> 0.5.1 2017-01-09 20:49:02 +01:00
djmount
dosfstools fix dosfstools build on darwin 2017-05-13 11:27:19 +01:00
duff
duperemove
e2fsprogs e2fsprogs: avoid larger rebuild on Linux 2017-02-26 11:01:44 +01:00
e2tools
encfs encfs: 1.8.1 -> 1.9.1 2016-11-01 15:57:29 +01:00
exfat
extundelete
f2fs-tools f2fs-tools: 1.7.0 -> 1.8.0 2017-04-10 17:09:22 +03:00
f3 f3: corrected version number 2016-11-27 06:52:38 -08:00
fatresize
fatsort
fsfs
fuse-7z-ng
fuseiso
fusesmb
gcsfuse gcsfuse: make linux-only 2017-04-08 23:34:52 -05:00
genext2fs
genimage genimage: init at 9 2016-12-14 17:44:05 +01:00
genromfs
gitfs gitfs: 0.2.5 -> 0.4.5.1 2017-03-02 16:35:33 +01:00
glusterfs glusterfs: Upgrade to 3.10.2 2017-05-19 16:56:31 +02:00
go-mtpfs
gocrypfs gocryptfs: init at 1.1.1 2016-11-17 14:15:47 +01:00
gpart
grive
grive2
hfsprogs
httpfs
hubicfuse add a maintainer 2017-01-24 13:05:58 +01:00
ifuse
irods irods: init at 4.2.0 2016-12-15 08:49:08 +01:00
jfsutils jfsutils: replace sha1 with sha256 2017-02-26 10:05:40 +01:00
jmtpfs
lizardfs
mergerfs mergerfs: init at 2.16.1 2016-09-28 22:17:57 +02:00
mhddfs mhddfs: fix-format-security (#23276) 2017-02-28 15:53:50 +01:00
mp3fs
mtdutils
mtools mtools: fix build on darwin 2017-04-04 23:32:06 +01:00
mtpfs
netatalk
nilfs-utils nilfs-utils: 2.2.5 -> 2.2.6 2016-12-08 16:15:18 +01:00
nixpart blivet: Remove unneccesary patching 2016-11-24 14:13:26 +03:00
ntfs-3g ntfs3g: 2016.2.22 -> 2017.3.23 2017-04-09 21:48:25 +03:00
rdfind
reiser4progs
reiserfsprogs
relfs
s3backer s3backer: 1.4.2 -> 1.4.3 2017-02-17 00:12:09 +01:00
s3fs s3fs: minor cleanups 2017-02-28 17:59:09 +08:00
securefs
smbnetfs
snapraid snapraid: 11.0 -> 11.1 2017-04-03 10:44:15 +02:00
squashfs
sshfs-fuse sshfs-fuse: 2.7 -> 2.9 2017-05-14 15:22:09 +03:00
svnfs
tmsu
udftools
unionfs-fuse unionfs-fuse: Use fetchFromGitHub 2017-03-04 02:14:22 +02:00
vmfs-tools vmfs-tools: init at 2016-01-16 2016-10-21 13:08:00 +03:00
wdfs
xfsprogs
xtreemfs
yandex-disk yandex-disk: 0.1.5.948 -> 0.1.5.978 2016-11-12 12:02:24 +03:00
zerofree
zfstools zfstools: 0.3.3 -> 0.3.6 2016-10-14 17:34:34 +02:00
zkfuse zkfuse: remove applied patch 2017-02-27 12:38:58 +01:00