Быстрое окружение разработки с Nix
★ 7.5 · devops
nix-for-dev is a Claude Code skill that guides setting up Nix for development projects with a fast `nix develop` experience: ~1s cold start, ~0.1s warm. The core principle is a zero-inputs flake.nix — the top-level flake declares no inputs at all, since each input adds ~1.5s of fetcher-cache verification on cold eval and a single nixpkgs input costs ~7s. Instead, sources are pinned with npins and imported via fetchTarball from files under nix/. The skill covers the full file layout (flake.nix, default.nix, shell.nix, nix/, npins/), the npins workflow, leaf packages via overlay, shared env vars through nix/env.nix, sub-flakes for module integration tests, and language-specific guidance for Haskell using the haskell-flake standalone API. It targets developers who want reproducible, low-latency Nix dev shells without flake-parts or unnecessary inputs bloating their setup.
- #nix
- #development-environment
- #flake
- #npins
- #workflow