quick-lint-js: work around CMake bug causing missing libstdc++.so.6
quick-lint-js fails to run after installation: $ quick-lint-js --version quick-lint-js: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Cause: https://github.com/NixOS/nixpkgs/pull/108496#issuecomment-1192083379 Work around this error.
This commit is contained in:
parent
cabd3cb4d3
commit
347f44d672
@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ cmake ninja ];
|
nativeBuildInputs = [ cmake ninja ];
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
# Temporary workaround for https://github.com/NixOS/nixpkgs/pull/108496#issuecomment-1192083379
|
||||||
|
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=ON" ];
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
version = testers.testVersion { package = quick-lint-js; };
|
version = testers.testVersion { package = quick-lint-js; };
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user