Skip to content

Commit

Permalink
build: Fix LLVM deps in flake.nix
Browse files Browse the repository at this point in the history
Make the llvm compiler functional.
  • Loading branch information
theduke committed Nov 5, 2023
1 parent dab119b commit 34afca7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,22 @@
src = self;
buildInputs = with pkgs; [
pkgconfig
libffi
libxml2
openssl
llvmPackages_14.llvm
llvmPackages_15.libllvm
# Snapshot testing
cargo-insta
wabt
binaryen

# LLVM and related dependencies
llvmPackages_15.llvm
libxml2
libffi
];
runtimeDependencies = with pkgs; [ ];

LD_LIBRARY_PATH = "${pkgs.openssl.out}/lib";
LLVM_SYS_150_PREFIX = "${pkgs.llvmPackages_15.llvm.dev}";
};
}
);
Expand Down

0 comments on commit 34afca7

Please sign in to comment.