llvmPackages_16.mlir: init

The Nixpkgs release code generates a list of attributes on
x86_64-linux, then tries to evaluate them on all platforms.  This
meant that Darwin evals broke when llvmPackages was bumped to 17 on
Linux, because the list of attributes is evaluated for Linux, finds an
llvmPackages.mlir attribute, then gets an evaluation error when it
tries to evalute that on Darwin.  The easiest fix is to just make sure
an llvmPackages.mlir attribute exists on Darwin too.
This commit is contained in:
Alyssa Ross 2024-03-01 19:50:32 +01:00
parent 18bc3c64e6
commit ee9c2b7c6a
2 changed files with 5 additions and 0 deletions

View file

@ -149,6 +149,10 @@ in let
inherit llvm_meta;
};
mlir = callPackage ../common/mlir {
inherit llvm_meta;
};
lldb = callPackage ../common/lldb.nix {
src = callPackage ({ runCommand }: runCommand "lldb-src-${version}" {} ''
mkdir -p "$out"

View file

@ -16530,6 +16530,7 @@ with pkgs;
llvm_16 = llvmPackages_16.llvm;
llvm_17 = llvmPackages_17.llvm;
mlir_16 = llvmPackages_16.mlir;
mlir_17 = llvmPackages_17.mlir;
libllvm = llvmPackages.libllvm;