mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-07-17 15:56:57 +02:00
wip: final simplify
This commit is contained in:
parent
90ebae0f26
commit
0b9e9c0696
21 changed files with 607 additions and 544 deletions
29
shell.nix
29
shell.nix
|
|
@ -1,13 +1,28 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
{pkgs?import<nixpkgs>{}}:let
|
||||
stdenv = pkgs.clang19Stdenv;
|
||||
name = "tengri";
|
||||
nativeBuildInputs = [ pkgs.pkg-config pkgs.clang pkgs.libclang pkgs.mold pkgs.bacon ];
|
||||
buildInputs = [ pkgs.libclang pkgs.jack2 ];
|
||||
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
|
||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [];
|
||||
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 nativeBuildInputs buildInputs LIBCLANG_PATH LD_LIBRARY_PATH;
|
||||
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"
|
||||
'';
|
||||
}))
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue