Skip to content

Conversation

mahmoudk1000
Copy link

@mahmoudk1000 mahmoudk1000 commented Sep 28, 2025

Hi,

This PR introduce nix package to devx

This flake.nix defines a reproducible environment for building and using the devx tool, which is used for generating, validating, and sharing configurations powered by CUE. It supports multiple platforms like x86_64-linux, x86_64-darwin, aarch64-linux, and aarch64-darwin.

Key Features:

  1. Cross-platform support: Works across different platforms including Linux and macOS.
  2. Docker image: It builds a Docker image for easy deployment and containerization.
  3. Development shell: It provides a devShell environment with Go development tools (go, gopls, etc.) for local development.

Usage:

To build package: nix build
To build docker image: nix build .#docker
Interactive shell with devx injected in: nix shell
To use the isolated development shell: nix develop

Here view of the power of nix :)
Screenshot 2025-09-28 172540
Screenshot 2025-09-28 172840

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant