Skip to content

Commit

Permalink
use clangStdenv to force clang grammar builds
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Mar 6, 2022
1 parent 5476c89 commit 58fc603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grammars.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, runCommand, yj }:
{ stdenv, clangStdenv, lib, runCommand, yj }:
let
# HACK: nix < 2.6 has a bug in the toml parser, so we convert to JSON
# before parsing
Expand All @@ -18,7 +18,7 @@ let
rev = grammar.source.rev;
allRefs = true;
};
in stdenv.mkDerivation rec {
in clangStdenv.mkDerivation rec {
# see https://github.com/NixOS/nixpkgs/blob/fbdd1a7c0bc29af5325e0d7dd70e804a972eb465/pkgs/development/tools/parsing/tree-sitter/grammar.nix

pname = "helix-tree-sitter-${grammar.name}";
Expand Down

0 comments on commit 58fc603

Please sign in to comment.