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:
Matthew "strager" Glazar 2022-09-06 19:45:53 -07:00
parent cabd3cb4d3
commit 347f44d672

View File

@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja ];
doCheck = true;
# Temporary workaround for https://github.com/NixOS/nixpkgs/pull/108496#issuecomment-1192083379
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=ON" ];
passthru.tests = {
version = testers.testVersion { package = quick-lint-js; };
};