Commit graph

4 commits

Author SHA1 Message Date
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Daniel Gorin
5d7bcd5b13
apfs-fuse: Let mount find apfs-fuse (#84997)
We add a symlink `mount.fuse.apfs-fuse ~~> apfs-fuse`, so that we can specify
`fuse.apfs-fuse` as `fsType` in `nixos` and have the device mounted. The
current alternative is to specify: `fuse./run/current-system/sw/bin/apfs-fuse`
as `fsType`.

On other distros, using `fuse.apfs-fuse` should work since `mount.fuse`
will just runs `apfs-fuse`, but on nixos the `PATH` of `mount.fuse` is
restricted. The symlink makes it work directly, without having
`mount.fuse` doing the dispatch.
2020-10-09 09:55:56 -04:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
ealasu
3b23c5fdf1 apfs-fuse: init at 2019-07-23 2019-08-16 12:04:26 -07:00