btrfs-auto-snapshot: remove with statements

This commit is contained in:
Philip Taron
2024-08-18 06:31:14 -07:00
parent 661aa513a1
commit 9996e83d77
+11 -13
View File
@@ -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 \