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 9pfs: Add 2015-12-16 20:31:14 +01:00
aefs
afpfs-ng afpfs-ng: init at 0.8.2 2016-10-09 20:13:49 +02:00
archivemount Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
avfs avfs: 1.0.3 -> 1.0.4 2016-09-15 15:50:10 -03:00
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 bindfs: Let mount find bindfs mount helper 2016-03-29 16:40:11 +02:00
bonnie bonnie: fix on Darwin 2017-04-10 23:08:14 -04:00
boxfs More version attribute tidying where maintainers |= nckx 2016-01-25 20:08:34 +01:00
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 treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
convoy convoy: init at 0.5.0 2016-11-30 23:28:18 +01:00
curlftpfs treewide: Add lots of platforms to packages with no meta 2016-08-02 21:17:44 +03:00
darling-dmg Remove redundant -DCMAKE_BUILD_TYPE=Release flags 2016-10-01 16:13:41 +02:00
davfs2 davfs2: 1.5.2 -> 1.5.3 2016-09-24 08:42:24 -04:00
dislocker dislocker: init at 0.6.1 2016-06-20 16:58:21 -07:00
disorderfs disorderfs: 0.4.2 -> 0.5.1 2017-01-09 20:49:02 +01:00
djmount djmount: add missing file 2015-10-14 20:20:30 +03:00
dosfstools fix dosfstools build on darwin 2017-05-13 11:27:19 +01:00
duff Add version attribute where maintainers |= nckx 2016-01-25 17:35:21 +01:00
duperemove duperemove: get linuxHeaders from stdenv 2016-05-13 19:35:09 +02:00
e2fsprogs e2fsprogs: avoid larger rebuild on Linux 2017-02-26 11:01:44 +01:00
e2tools e2tools: init -> 0.0.16 2016-06-15 16:22:03 +02:00
encfs encfs: 1.8.1 -> 1.9.1 2016-11-01 15:57:29 +01:00
exfat exfat: 1.2.3 -> 1.2.4 2016-06-06 22:40:43 +02:00
extundelete Captialize meta.description of all packages 2016-06-20 13:55:52 +02:00
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 treewide: Fix meta.platforms related typos 2016-08-02 21:17:44 +03:00
fatsort treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
fsfs
fuse-7z-ng fuse-7z-ng: take longDescription from #8207 2015-11-11 15:45:52 +01:00
fuseiso fuseiso: fix CVE-2015-8836 & CVE-2015-8837 2016-09-25 17:38:31 +02:00
fusesmb Use general hardening flag toggle lists 2016-03-05 18:55:26 +01:00
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 genromfs: fix darwin build 2016-08-16 19:25:41 +00:00
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 buildGoPackage: deps.json -> deps.nix in NIXON 2016-09-16 00:04:55 +01:00
gocrypfs gocryptfs: init at 1.1.1 2016-11-17 14:15:47 +01:00
gpart gpart: Broken on Darwin 2016-08-08 16:12:29 +03:00
grive grive: Broken on Darwin 2016-08-08 16:12:29 +03:00
grive2 grive2: init at 0.5.0 2016-03-31 15:42:45 +02:00
hfsprogs hfsprogs: init at 332.25 2016-02-15 22:22:35 +01:00
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 jmtpfs: add platform 2015-06-16 11:30:20 +02:00
lizardfs lizardfs: 3.10.0 -> 3.10.2 2016-09-14 19:24:33 +02:00
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 Add version attribute where maintainers |= nckx 2016-01-25 17:35:21 +01:00
mtdutils mtdutils: 1.5.1 -> 1.5.2 2016-03-11 12:52:46 +01:00
mtools mtools: fix build on darwin 2017-04-04 23:32:06 +01:00
mtpfs mtpfs: Fix accidental deletion 2015-09-02 17:39:42 -07:00
netatalk netatalk: fix build (broken since closure-size) 2016-09-02 19:38:48 +01:00
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 Don't use "with licenses;" for single licences 2015-05-28 19:20:29 +02:00
reiser4progs reiser4progs: disable format hardening 2016-08-04 11:09:27 +02:00
reiserfsprogs treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
relfs relfs: port to stdenv.mkDerivation 2016-08-29 01:10:33 +02:00
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 securefs: 0.3.1 -> 0.3.2 2016-05-14 16:01:33 +02:00
smbnetfs Remove unneeded 'with's from meta.platforms 2015-11-25 23:06:09 +01:00
snapraid snapraid: 11.0 -> 11.1 2017-04-03 10:44:15 +02:00
squashfs squashfsTools: optional lz4 support 2016-09-15 15:37:03 +02:00
sshfs-fuse sshfs-fuse: 2.7 -> 2.9 2017-05-14 15:22:09 +03:00
svnfs subversion: fixup some referrers after splitting 2015-10-28 10:22:59 +01:00
tmsu Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
udftools udftools: remove obsolete gcc5 patch 2016-08-13 09:48:26 +00:00
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 treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
xfsprogs treewide: Shuffle outputs 2016-08-29 14:49:51 +03:00
xtreemfs xtreemfs: fix substituteInPlace paths 2016-08-27 21:56:45 +00:00
yandex-disk yandex-disk: 0.1.5.948 -> 0.1.5.978 2016-11-12 12:02:24 +03:00
zerofree zerofree: 1.0.3 -> 1.0.4 2016-07-14 15:43:09 +02:00
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