Problem was flakeRoot = "${inputs.self}" in #rust #derivation in flake caused the rust code to swallow whole flake anew for any flake file change, even changes completely unrelated to the rust code, meaning a whole rebuild. Changed that to a find_flake_dir() function that discovers flake directory by walking up if FLAKE_DIR environment variable is not set.
Took time down from always 22 mins, to 2 mins 20 sec for a minor nix fix rebuild. Ta #Claudeai #buildtime #buildtimes #nix #nixos
#flake
In a #nixos #build and #switch of a #flake, my entire #rust #derivation ( which is just a program in the flake ) gets built meaning that it takes eons: even if the change to the flake that made the build necessary was a trivial change to a thing that has no interaction with the rust derivation. What am I doing wrong? Thanks for any pointers... #flakes #buildtime #buildtimes

⚡ Faster Feedback, Fewer Build Delays!

At #droidconBerlin (Sept 24–26), James Cullimore will share how to cut Gradle build + pipeline times in half. 🚀

🎟 Tickets: https://berlin.droidcon.com

▶️ Short: https://www.youtube.com/shorts/XwnzkH3fEpU

#Gradle #AndroidDev #BuildTimes #droidcon2025

droidcon Berlin | Android Development Conference 2025

droidcon Berlin 2025, the premier android developer event. Become a better developer, learn from the community, expand your network.

droidcon Berlin

One day I'll change this super slow #CI to pull a trick, I've pulled 20 years ago: I'll build all of our #Windows code on a #Linux or #MacOS node.

Just because building this code on a serious OS is six times faster, according to the other builds.

#BuildTimes #Programming