flox-builds

Automate Flox-based manifest and Nix expression builds.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/randoneering/nix-flake-mirror --skill flox-builds-randoneering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flox-builds
Source: https://github.com/randoneering/nix-flake-mirror/tree/main/home/programs/opencode/skills/flox/flox-builds
Command: npx skills add https://github.com/randoneering/nix-flake-mirror --skill flox-builds-randoneering

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flox-builds standardizes and streamlines complex Flox-based build workflows, reducing friction when creating manifest builds, Nix expression builds, and packaging assets.

Core Features & Use Cases

  • Supports manifest builds and Nix expression builds; ensures reproducible environments.
  • Two-environment pattern guidance (development vs runtime) to improve isolation and reproducibility.
  • Provides standard commands and patterns for building, testing, and packaging Flox projects.

Quick Start

Execute flox build in your Flox project to generate all configured build artifacts.

Frequently Asked Questions about flox-builds

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Flox builds for manifest and Nix expression workflows?

Automating Flox builds involves executing standard commands like flox build to generate configured artifacts across manifest and Nix expression workflows. This approach enforces build definitions, supports sandbox modes, and ensures reproducible environments across development, testing, and production.

What is the two-environment pattern for Flox builds?

The two-environment pattern for Flox builds separates development environments from runtime environments to improve isolation and reproducibility. This pattern standardizes complex workflows by maintaining distinct build definitions and dependencies for each stage, reducing friction when packaging assets.

How do I package assets and distribute artifacts across Flox environments?

Packaging assets and distributing artifacts across Flox environments requires enforcing manifest and Nix build definitions during the build process. The workflow provides standard commands and patterns for building, testing, and packaging, ensuring consistent result packaging across development, testing, and production stages.

Does Flox support sandbox modes for reproducible Nix expression builds?

Flox supports sandbox modes for reproducible Nix expression builds by enforcing strict manifest and Nix build definitions. Sandbox isolation ensures that builds execute in controlled environments, preventing external dependency leaks and maintaining consistency across multi-environment Flox projects.

What's the best way to manage versioning and dependencies in multi-environment Flox projects?

Managing versioning and dependencies in multi-environment Flox projects is best handled by applying the two-environment pattern with distinct development and runtime configurations. This approach provides guidance on versioning and dependencies, ensuring reproducible builds and standardized packaging across all project environments.

Why use Flox for manifest builds instead of standard Nix expressions?

Using Flox for manifest builds standardizes complex workflows by supporting both manifest and Nix expression builds within a single system. Flox reduces friction by providing standard commands, enforcing build definitions, and offering two-environment pattern guidance for improved isolation over standard Nix approaches.