Skip to content

Commit

Permalink
Merge 5b30695 into b17cb54
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar committed Oct 11, 2023
2 parents b17cb54 + 5b30695 commit 50170d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build-aux/pkg.nix
Expand Up @@ -139,11 +139,6 @@ in stdenv.mkDerivation (finalAttrs: {
touch source/build-aux/rust_boilerplate.mk
'';

preBuild = lib.optionalString stdenv.cc.isClang ''
substituteInPlace libtexpdf/dpxutil.c \
--replace "ASSERT(ht && ht->table && iter);" "ASSERT(ht && iter);"
'';

# remove forbidden references to $TMPDIR
preFixup = lib.optionalString stdenv.isLinux ''
for f in "$out"/bin/*; do
Expand Down
7 changes: 7 additions & 0 deletions flake.nix
Expand Up @@ -82,6 +82,8 @@
pkgs.luarocks
# For commitlint git hook
pkgs.yarn
# For npx
pkgs.nodejs
];
};
};
Expand All @@ -96,6 +98,11 @@
sile-luajit = sile.override {
lua = pkgs.luajit;
};
sile-clang = sile.override {
lua = pkgs.luajit;
# Use the same clang version as Nixpkgs' rust clang stdenv
stdenv = pkgs.rustc.llvmPackages.stdenv;
};
};
defaultPackage = packages.sile-luajit;
apps = rec {
Expand Down

0 comments on commit 50170d3

Please sign in to comment.