Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/actions/checkout-4
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Nov 6, 2023
2 parents 95f488c + f730ff8 commit ecb9971
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: cancel running workflows
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ github.token }}
test-nixpkgs:
Expand Down
6 changes: 6 additions & 0 deletions toolchains/cc/cc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ pkgs.runCommand "bazel-${cc.orignalName or cc.name}-toolchain"
| xargs -0 -r realpath -ms
}
CXX_BUILTIN_INCLUDE_DIRECTORIES=($({
if is_compiler_option_supported -print-resource-dir; then
resource_dir="$( $cc -print-resource-dir )"
if [ -d "$resource_dir/share" ]; then
echo "$resource_dir/share"
fi
fi
include_dirs_for c
include_dirs_for c++
if is_compiler_option_supported -fno-canonical-system-headers; then
Expand Down
2 changes: 1 addition & 1 deletion toolchains/go/go.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let
paths = [ goAttr ];
postBuild = ''
touch $out/ROOT
ln -s $out/share/go/{api,doc,lib,misc,pkg,src} $out/
ln -s $out/share/go/{api,doc,lib,misc,pkg,src,go.env} $out/
'';
} // {
version = getVersion goAttr;
Expand Down

0 comments on commit ecb9971

Please sign in to comment.