We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d32a48 commit ffb71cbCopy full SHA for ffb71cb
pkgs/tools/backup/restic/default.nix
@@ -45,7 +45,7 @@ buildGoModule (finalAttrs: {
45
''
46
wrapProgram $out/bin/restic --prefix PATH : '${rclone}/bin'
47
48
- + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
+ + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
49
$out/bin/restic generate \
50
--bash-completion restic.bash \
51
--fish-completion restic.fish \
0 commit comments