diff --git a/pkgs/by-name/bt/btrfs-auto-snapshot/package.nix b/pkgs/by-name/bt/btrfs-auto-snapshot/package.nix index 7392a0c5809d..7cd30f563bc4 100644 --- a/pkgs/by-name/bt/btrfs-auto-snapshot/package.nix +++ b/pkgs/by-name/bt/btrfs-auto-snapshot/package.nix @@ -32,19 +32,17 @@ stdenv.mkDerivation rec { install -Dm755 btrfs-auto-snapshot $out/bin/btrfs-auto-snapshot ''; - wrapperPath = - with lib; - makeBinPath ( - [ - coreutils - getopt - gnugrep - gnused - gawk - btrfs-progs - ] - ++ optional syslogSupport util-linux - ); + wrapperPath = lib.makeBinPath ( + [ + coreutils + getopt + gnugrep + gnused + gawk + btrfs-progs + ] + ++ lib.optional syslogSupport util-linux + ); postFixup = '' wrapProgram $out/bin/btrfs-auto-snapshot \