figsoda

figsoda / drowse

Public

Nix dynamic derivations made easy

83
1
100% credibility
Found Feb 22, 2026 at 36 stars 2x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Nix
AI Summary

Drowse is a lightweight tool that simplifies creating efficient, fast-building software packages by wrapping project definitions dynamically, with special support for Rust projects.

How It Works

1
🔍 Discover drowse

You stumble upon drowse while looking for ways to make building your software projects faster and more reliable.

2
📖 Read the guide

You learn how drowse wraps your project files to handle dependencies smoothly without slowing things down.

3
Grab the starter kit

You use the ready-made template to quickly set up a new Rust project with everything prepped for success.

4
✏️ Tweak your project

You edit the simple starter code to add your own features and make it your own.

5
🏗️ Build it up

You let drowse organize all the pieces so your project comes together perfectly every time.

🎉 Speedy success

Now your project rebuilds lightning-fast with smart handling of changes, saving you tons of time.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 36 to 83 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is drowse?

Drowse is a Nix library that simplifies experimental dynamic derivations, letting you build packages where code evaluates at build time for fine-grained caching. It solves slowdowns from import-from-derivation in tools like crate2nix or git history bloat from generated files, delivering mkDerivation-style workflows without nix dynamic attribute already defined errors. Enable Nix flags like dynamic-derivations and recursive-nix, then use callPackage for any Nix expr or crate2nix for Rust crates.

Why is it gaining traction?

Unlike IFD's sequential eval or code gen's overhead, drowse offers lazy evaluation with zero clutter, speeding up nix github actions cache and CI rebuilds. Rust devs dig the template for instant nix github rust setups, dodging nix github api rate limit woes on deps. The hook: dynamic cargo deps without IFD, perfect for nix dynamic libraries or linking.

Who should use this?

Rust packagers on Nix using crate2nix for nix github ci, tired of slow dep fetches. Nix maintainers handling dynamic derivatives or libraries in GitHub Actions. Teams experimenting with nix dynamic linking for faster, cached builds.

Verdict

With 19 stars and 1.0% credibility score, drowse is immature and hinges on undocumented Nix features—docs are clear with great resources, but test lightly. Worth a spin for nix dynamic derivations tinkerers; hold off for prod until adoption grows.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.