rls: update preBuild for changes in buildRustPackage
preBuild is now run before changing to buildAndTestSubdir, so use full path to tests/client.rs in preBuild.
This commit is contained in:
parent
2df314c261
commit
2376921de5
@ -2,7 +2,7 @@
|
||||
, openssh, openssl, pkg-config, cmake, zlib, curl, libiconv
|
||||
, CoreFoundation, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rls";
|
||||
inherit (rustPlatform.rust.rustc) src version;
|
||||
|
||||
@ -14,7 +14,7 @@ rustPlatform.buildRustPackage {
|
||||
|
||||
preBuild = ''
|
||||
# client tests are flaky
|
||||
rm tests/client.rs
|
||||
rm ${buildAndTestSubdir}/tests/client.rs
|
||||
'';
|
||||
|
||||
# a nightly compiler is required unless we use this cheat code.
|
||||
|
Loading…
x
Reference in New Issue
Block a user