docker-nixpkgs/images/nix-unstable-static
erikarvstedt 98e0048215
nix.conf: enable parallel building (#90)
This is a sensible default given Docker images are often used for CI and build jobs.
2025-06-04 16:19:54 +02:00
..
default.nix nix.conf: enable parallel building (#90) 2025-06-04 16:19:54 +02:00
docker-nix-user.sh nix-unstable-static: ship with complementary user script 2022-06-29 17:00:08 +02:00
README.md nix-unstable-static: ship with complementary user script 2022-06-29 17:00:08 +02:00
run_as_user.sh nix-unstable-static: add run_as_user.sh script 2022-06-29 16:42:49 +02:00

nix-unstable-static

This is a special variant of the nix image that contains no /nix/store. Instead, nix and all the supporting binaries are statically built and copied into /bin.

The main use-case is to be able to run nix in the container, but share the /nix/store with the host.

Using the container with the host store

This folder ships with a complementary script that you can use to run the image as the current user and the host /nix/store.

Usage: docker-nix-user.sh [<command> ...<args>]