File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -39,19 +39,21 @@ rustPlatform.buildRustPackage rec {
3939 hash = "sha256-KKfGB1vM8ytpNieWD6CHD5zVyUe17tFAegZFzLx7QfE=" ;
4040 } ;
4141
42- postPatch = ''
43- echo ${ version } > .tag
44-
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- '' ;
42+ postPatch =
43+ ''
44+ echo ${ version } > .tag
45+
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+ '' ;
5557
5658 cargoHash = "sha256-WyQYmRNlabJaCTJm7Cn9nkXfOGAcOHwhoD9vmEggrDw=" ;
5759 useFetchCargoVendor = true ;
You can’t perform that action at this time.
0 commit comments