tengri/shell.nix
facile pop culture reference 0b9e9c0696 wip: final simplify
2026-07-05 18:46:22 +03:00

28 lines
761 B
Nix

#!/usr/bin/env nix-shell
{pkgs?import<nixpkgs>{}}:let
name = "tengri";
stdenv = pkgs.clang19Stdenv;
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [];
in pkgs.mkShell.override {
inherit stdenv;
} {
inherit name LIBCLANG_PATH LD_LIBRARY_PATH;
buildInputs = [
pkgs.libclang
pkgs.jack2
];
nativeBuildInputs = [
pkgs.pkg-config
pkgs.clang
pkgs.libclang
pkgs.mold
pkgs.bacon
(pkgs.quarto.overrideAttrs (oldAttrs: { # https://github.com/NixOS/nixpkgs/issues/519484
postPatch = (oldAttrs.postPatch or "") + ''
substituteInPlace bin/quarto.js \
--replace-fail "syntax-highlighting" "highlight-style"
'';
}))
];
}