Loading pkgs/by-name/as/ast-grep/package.nix +10 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , rustPlatform , fetchFromGitHub , stdenv , installShellFiles }: rustPlatform.buildRustPackage rec { Loading @@ -22,11 +23,20 @@ rustPlatform.buildRustPackage rec { NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}"; }; nativeBuildInputs = [ installShellFiles ]; # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' rm .cargo/config.toml ''; postInstall = '' installShellCompletion --cmd sg \ --bash <($out/bin/sg completions bash) \ --fish <($out/bin/sg completions fish) \ --zsh <($out/bin/sg completions zsh) ''; checkFlags = [ # disable flaky test "--skip=test::test_load_parser_mac" Loading Loading
pkgs/by-name/as/ast-grep/package.nix +10 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , rustPlatform , fetchFromGitHub , stdenv , installShellFiles }: rustPlatform.buildRustPackage rec { Loading @@ -22,11 +23,20 @@ rustPlatform.buildRustPackage rec { NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}"; }; nativeBuildInputs = [ installShellFiles ]; # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' rm .cargo/config.toml ''; postInstall = '' installShellCompletion --cmd sg \ --bash <($out/bin/sg completions bash) \ --fish <($out/bin/sg completions fish) \ --zsh <($out/bin/sg completions zsh) ''; checkFlags = [ # disable flaky test "--skip=test::test_load_parser_mac" Loading