Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

wezterm: run ssh tests on linux

+14 -12
+14 -12
pkgs/by-name/we/wezterm/package.nix
··· 39 39 hash = "sha256-KKfGB1vM8ytpNieWD6CHD5zVyUe17tFAegZFzLx7QfE="; 40 40 }; 41 41 42 - postPatch = '' 43 - echo ${version} > .tag 42 + postPatch = 43 + '' 44 + echo ${version} > .tag 44 45 45 - # tests are failing with: Unable to exchange encryption keys 46 - rm -r wezterm-ssh/tests 47 - 48 - # hash does not work well with NixOS 49 - substituteInPlace assets/shell-integration/wezterm.sh \ 50 - --replace-fail 'hash wezterm 2>/dev/null' 'command type -P wezterm &>/dev/null' \ 51 - --replace-fail 'hash base64 2>/dev/null' 'command type -P base64 &>/dev/null' \ 52 - --replace-fail 'hash hostname 2>/dev/null' 'command type -P hostname &>/dev/null' \ 53 - --replace-fail 'hash hostnamectl 2>/dev/null' 'command type -P hostnamectl &>/dev/null' 54 - ''; 46 + # hash does not work well with NixOS 47 + substituteInPlace assets/shell-integration/wezterm.sh \ 48 + --replace-fail 'hash wezterm 2>/dev/null' 'command type -P wezterm &>/dev/null' \ 49 + --replace-fail 'hash base64 2>/dev/null' 'command type -P base64 &>/dev/null' \ 50 + --replace-fail 'hash hostname 2>/dev/null' 'command type -P hostname &>/dev/null' \ 51 + --replace-fail 'hash hostnamectl 2>/dev/null' 'command type -P hostnamectl &>/dev/null' 52 + '' 53 + + lib.optionalString stdenv.hostPlatform.isDarwin '' 54 + # many tests fail with: No such file or directory 55 + rm -r wezterm-ssh/tests 56 + ''; 55 57 56 58 cargoHash = "sha256-WyQYmRNlabJaCTJm7Cn9nkXfOGAcOHwhoD9vmEggrDw="; 57 59 useFetchCargoVendor = true;