We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bd0b5a commit cf572e0Copy full SHA for cf572e0
pkgs/os-specific/linux/zfs/generic.nix
@@ -182,10 +182,11 @@ let
182
# Remove tests because they add a runtime dependency on gcc
183
rm -rf $out/share/zfs/zfs-tests
184
185
- # Add Bash completions.
186
- install -v -m444 -D -t $out/share/bash-completion/completions contrib/bash_completion.d/zfs
187
- '' + optionalString (lib.versionOlder version "2.2.6") ''
188
- (cd $out/share/bash-completion/completions; ln -s zfs zpool)
+ ${optionalString (lib.versionOlder version "2.2") ''
+ # Add Bash completions.
+ install -v -m444 -D -t $out/share/bash-completion/completions contrib/bash_completion.d/zfs
+ (cd $out/share/bash-completion/completions; ln -s zfs zpool)
189
+ ''}
190
'';
191
192
postFixup = let
0 commit comments