Created
April 22, 2025 08:51
-
-
Save altacountbabi/67f6348fcba39ea6e5f1e177fd3315db to your computer and use it in GitHub Desktop.
LLVM nix shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
pkgs ? import <nixpkgs> { }, | |
... | |
}: | |
let | |
llvm = pkgs.llvmPackages_18; | |
in | |
pkgs.mkShell { | |
buildInputs = [ | |
llvm.llvm | |
pkgs.libffi | |
pkgs.libxml2 | |
]; | |
LLVM_SYS_181_PREFIX = "${llvm.llvm.dev}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment