Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rse-ops/devbox

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Nix DevBox

This is an experiment to use Nix packages and possibly devbox to provide working environments and containers! We will be using the standard set linked above, along with the Nix User Repository "NUR" at rseops, shown also in the community listing here.

I like this approach because I think it's the best of both worlds - easy binaries with nix, but provided in containers so I don't need to worry about dumping them all onto my local hard drive!

Environments

Usage

Containers

Most of these containers will be pre-built and you can pull them down. Browse the packages alongside the repository here to see what is available! We will eventually have a web interface to better show you this set.

For Nix derived containers, the package set included are installed to the defualt nix-env, meaning you can shell inside and find them on your path.

Devbox

Devbox is a local development environment you can also use for any container here! To test out devbox, you can install devbox. You will also need to install Nix.

Running Environment

Choose an environment subdirectory, e.g.,

$ cd openmpi
$ devbox shell

And that's it! Everything in the environment will be on your path.

Adding to an environment

You can browse for nix packages and then just do:

$ devbox add <package>

And then shell.

Creating an Environment

To create a new environment, create your directory, and then:

$ cd <mypackage>
$ devbox init
$ devbox add <package URI>

And please add a README.md with some basic instructions or descriptions! You are encouraged to add an uptodate.yaml that will build over a matrix of versions, and the automation will discover it.

About

Developer boxes (containers) for development and automated builds (prototyping or testing phase!)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 
Morty Proxy This is a proxified and sanitized view of the page, visit original site.