#Buck2
I mean buck2 and bazel both at least CLAIM to. Which seems to be true observationally but I haven't used them in an actual monorepo environment, so.
November 21, 2026 at 2:37 AM
#575678 azure-sdk-for-cpp.security-attestation: fix build
#590549 beamPackages.expert→0.2.4
#588346 bitfocus-companion→5.1.3
#590297 blightmud→5.7.1
#584061 bluespec→2026.07.1
#590103 brave, brave-origin: 1.99.57→1.100.58
#590388 brioche→0.1.8
#590391 brutespray: fix hash
#586961 buck2→2026-11-01
November 20, 2026 at 12:05 AM
Cabal Pipeline Architecture (Cabal’s Future Architecture?)
bmobn00b: > cabal hooks and buck2 backend Seeing @simonmar’s recent experimental (interesting and exciting!) Buck2 backend post and its demonstrated modularity and benefits, I’m interested in how the objective of the refactor can refocus to consider all of these innovations at once before it strays too far in one direction that can’t be course corrected to work with Buck2. To me, the advantages pointed out in that thread had future me abandoning all other options in favor of that one. I’m a Haskell.nix/IOG’s Nix Haskell compiler proponent and I’m admittedly ignorant of what I am asking for. Would I still be able to Nixify it? Perhaps the fact that it doesn’t need to build the entire module system but instead can compile each part independently each time buys us even more nix-style modularity and determinism? Further, I wonder if the current cabal roadmap is moving in a direction that would accommodate these modular backends? If not, I’d hope we could course correct now that we’ve been shown a (IMHO) slightly more elegant solution. From that thread, it seemed that cabal’s current architecture was being perhaps too closely integrated with the the compiler itself to allow efficient incremental builds…but again I don’t know what I don’t know..and I’d hate to offend someone that has spent years of their life on it. Maybe someone could correct my ignorance in this thread. I can’t be alone in being VERY impressed with the modularity and incremental builds properties that Simon was able to achieve by using Buck2. Ps. I apologize if this comment is ignorant of the cabal team’s hard work. I’d love an ELI5 to hear the tradeoffs of each decision we are faced with now that Simon has shown the capabilities of Buck2 when directed toward Haskell. Infinite respect to everyone here. I’m proud to have chosen Haskell as my focus. My choice to focus on Haskell was is no small part thanks to the brilliant group of engineers I’m able to stand on the shoulders of in using it.
discourse.haskell.org
November 12, 2026 at 9:50 AM
Cabal Pipeline Architecture (Cabal’s Future Architecture?)
I’m hugely in favour of refactoring Cabal to cleanly separate the backend build system from solving and configuring packages (the frontend). As Benjamin says, elaborate `plan.json` so that it contains everything needed to build the project using your choice of build system, and give it a well-defined, versioned, schema. If you squint enough this is quite close to the way the Buck2 backend works already: take a look at the build spec schema that is passed to the Buck2 rules. So I totally believe this is doable. There are probably quite a lot of details to work out though, and one big optional bit: do you use the Cabal store for existing packages or build everything? (this is currently a flag to `cabal buck2`). shf: > After that, I think moving towards a “build graph orchestrator” approach ( Turn cabal-install into a build graph orchestrator · Issue #12121 · haskell/cabal · GitHub ) is an important step for integration into the rest of the ecosystem I actually don’t want Cabal doing the per-module build graph, I’d rather Cabal stopped at packages and let the build system do the per-module stuff. Basically the tradeoff is that once you’ve solved and configured your packages, we want Cabal to get out of the way so you can just use your build system tooling. If Cabal needs to construct the per-module build graph then you have to go back to Cabal each time you change it, which would be painful. So perhaps there’s a further bit of modularity: elaborating the package-level dependency graph into a module-level dependency graph. A build backend can choose to start from either one of these. All the other refactoring you mentioned sounds great.
discourse.haskell.org
November 12, 2026 at 11:50 AM
gosh, wow. buck2 fixes this. i think??
November 7, 2026 at 5:20 PM
most extant build systems are trash to be fair. the only reason we're winning at this at work is buck2
November 7, 2026 at 5:48 AM
Spin up a new worktree FAST, with cabal-buck2
Something we often want to do is create a new worktree to work on a bug, PR, or small feature, especially if you’re forking off tasks for an AI to work on. Creating the worktree is easy, but to build and test the changes, you’re starting from a cold build. I want to run through quickly how to set things up so that you can spin up a new worktree and use `cabal-buck2` to pull build artifacts from a cache, so the build in the fresh worktree is ready instantly. Get a build cache running. I use bazel-remote, you can grab one of the releases or build from source. Start the cache, e.g. ./bazel-remote-2.6.4-linux-amd64 --dir ~/.cache/buck2 --max_size 20 --grpc_address 127.0.0.1:9092 --http_address 127.0.0.1:8080 Next get yourself set up with cabal-buck2 - the README explains what you need. Then set up your project with `cabal-buck2` and tell it to use the local cache: cabal buck2 --enable-tests --cache=grpc://127.0.0.1:9092 build and run tests: buck2 build //... buck2 test //... Now the build cache is warm, we can create a new worktree: git worktree add /tmp/worktree -b tmp cd buck2 && git worktree add /tmp/worktree/buck2 -b tmp Run `cabal buck2` in the new worktree, again telling it to use the cache: cd /tmp/worktree cabal buck2 --enable-tests --cache=grpc://127.0.0.1:9092 And the build should now be almost instant: buck2 build //... When I tried this just now on the Cabal project itself, the clean build took 1.3s.
discourse.haskell.org
November 6, 2026 at 12:50 PM
you could be more ruined by learning advanced buck2 features 😈
November 3, 2026 at 6:45 PM
yes, github.com/lf-/dotfiles, see lid. but it's not nix because i want less nix in my life. i should wire it up to build images with Tine/buck2 at some point. i think I've seen a Nix based one? idk which of these it was github.com/search?q=nix...
November 3, 2026 at 7:00 AM
SystemD's Creator Opens Signups for Private Preview of Amutable's Cryptographically Verified Linux Systems
SystemD creator Lennart Poettering left Red Hat for Microsoft in 2022, but 10 months ago left to co-found Amutable a company that aims to build cryptographically verified Linux systems that stay trusted over time. It's FOSS calls it "a read-only, image-based system where every machine produces signed reports of its own state" — and signups are now open for a private preview: Before announcing this Linux-based implementation, Amutable had released two open source tools. tine, a Buck2-based build system that composes OS images; available under MPL-2.0, and Quarry, a TUF-based tool that distributes those images to machines; available under Apache-2.0. What Amutable Foundations brings to the table is a service where Amutable runs the images, update repositories, control plane and vulnerability fixes for organizations and individuals who operate their own systems. No license has been stated for those company-run parts, and the preview announcement does not say how much of Foundations beyond tine and Quarry will be open source. Software and configuration both ship as signed images, and a machine boots only what is signed. Because there is no package manager and no SSH or interactive shell, a change means giving every machine in your fleet a new signed image. Its images are reproducible, come with a software bill of materials (SBOM) and are built from pinned inputs of whichever distribution you pick, with tine being able to import packages from Fedora or CentOS Stream. Each machine sends a signed report that records what it booted, from the firmware and boot loader up to the kernel and OS, plus the configuration it runs... Amutable's control plane verifies reports from systemd-report, an experimental command in systemd 260 that the company helped build. It compares each one with the declared state and flags machines that deviate. A rollout only continues while machines can show they are in a good state... Amutable is signup formlooking for teams that manage Linux fleets and need to show what state each machine is in. It expects to start bringing the first 'design partners,' as it calls them, on board over the coming weeks. Read more of this story at Slashdot.
tech.slashdot.org
November 1, 2026 at 11:04 PM
SystemD's Creator Opens Signups for Private Preview of Amutable's Cryptographically Verified Linux Systems
SystemD creator Lennart Poettering left Red Hat for Microsoft in 2022, but 10 months ago left to co-found Amutable a company that aims to build cryptographically verified Linux systems that stay trusted over time. It's FOSS calls it "a read-only, image-based system where every machine produces signed reports of its own state" — and signups are now open for a private preview: Before announcing this Linux-based implementation, Amutable had released two open source tools. tine, a Buck2-based build system that composes OS images; available under MPL-2.0, and Quarry, a TUF-based tool that distributes those images to machines; available under Apache-2.0. What Amutable Foundations brings to the table is a service where Amutable runs the images, update repositories, control plane and vulnerability fixes for organizations and individuals who operate their own systems. No license has been stated for those company-run parts, and the preview announcement does not say how much of Foundations beyond tine and Quarry will be open source. Software and configuration both ship as signed images, and a machine boots only what is signed. Because there is no package manager and no SSH or interactive shell, a change means giving every machine in your fleet a new signed image. Its images are reproducible, come with a software bill of materials (SBOM) and are built from pinned inputs of whichever distribution you pick, with tine being able to import packages from Fedora or CentOS Stream. Each machine sends a signed report that records what it booted, from the firmware and boot loader up to the kernel and OS, plus the configuration it runs... Amutable's control plane verifies reports from systemd-report, an experimental command in systemd 260 that the company helped build. It compares each one with the declared state and flags machines that deviate. A rollout only continues while machines can show they are in a good state... Amutable is signup formlooking for teams that manage Linux fleets and need to show what state each machine is in. It expects to start bringing the first 'design partners,' as it calls them, on board over the coming weeks. Read more of this story at Slashdot.
tech.slashdot.org
November 1, 2026 at 10:41 PM
It's in Mesa (every Linux GPU driver), Ceph, Hugging Face's Buckets / IETF XET, Meta's new source control tool Sapling/Mononoke, Google's TensorStore, Unreal Engine, OpenZFS, Solana, Nix, Bazel, Buck2, Wasmer, the Swift compiler, rustc, cargo, and iroh. ⤵️
October 29, 2026 at 5:27 PM
To which my responses are
1. I never said you couldn't write code. I recently set up a Quake engine to build with buck2 on Linux and I did it all by hand because I wanted to really understand buck2. NOW that I have had that experience, I'll likely have AI write way mote of my Starlark.
October 24, 2026 at 6:06 PM