diff --git a/pkgs/by-name/pa/passage/package.nix b/pkgs/by-name/pa/passage/package.nix index 9971511b5701..b438def810d3 100644 --- a/pkgs/by-name/pa/passage/package.nix +++ b/pkgs/by-name/pa/passage/package.nix @@ -39,18 +39,22 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ makeBinaryWrapper ]; - extraPath = lib.makeBinPath [ - age - coreutils - findutils - git - gnugrep - gnused - qrencode - tree - wl-clipboard - xclip - ]; + extraPath = lib.makeBinPath ( + [ + age + coreutils + findutils + git + gnugrep + gnused + qrencode + tree + ] + ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ + wl-clipboard + xclip + ] + ); # Using $0 is bad, it causes --help to mention ".passage-wrapped". postInstall = ''