Skip to content

Commit c26bbdf

Browse files
authored
Update flake propagatedBuildInputs and overlay (#207)
* Update flake propagatedBuildInputs and overlay
1 parent c7f4803 commit c26bbdf

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

changelogs/unreleased/iangneal__flake-fixes.yaml

Whitespace-only changes.

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}:
3838
{
3939
# First, we define the packages used in this repository/flake
40-
overlays.default =
40+
overlays.llzk =
4141
final: prev:
4242
let
4343
mkLlzkDebWithSans =
@@ -191,6 +191,8 @@
191191

192192
devShellBaseWithDefault = pkgs: final.devShellBase pkgs final.llzk-debug;
193193
};
194+
# So downstream users don't need to apply the pcl-mlir-pkg overlay directly
195+
overlays.default = nixpkgs.lib.composeExtensions pcl-mlir-pkg.overlays.default self.overlays.llzk;
194196
}
195197
// (flake-utils.lib.eachDefaultSystem (
196198
system:

nix/llzk.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ stdenv.mkDerivation {
4141
mlir_pkg.pythonDeps
4242
];
4343

44+
propagatedBuildInputs = [ pcl_pkg ];
45+
4446
cmakeFlags = [
4547
"-DCMAKE_BUILD_TYPE=${cmakeBuildType}"
4648
"-DLLZK_BUILD_DEVTOOLS=ON"

0 commit comments

Comments
 (0)