Public | Automated Build

Last pushed: a year ago
Short Description
Docker container for Nix.
Full Description

docker-nix

A docker image for the Nix Package Manager.

Development of Nix packages.

  1. Pull the image:

    docker pull adolfogc/nix:latest
    
  2. Run the container ($NIXPKGS is the path on the file system of your nixpkgs fork):

    docker run -i -v $NIXPKGS:/nixpkgs -t adolfogc/nix
    
  3. Test your packages using nix, for example:

    nix-env --version
    cd /tmp
    nix-shell $NIXPKGS -A mypackage
    cd mypackage*
    nix-shell unpackPhase
    nix-shell patchPhase
    nix-shell configurePhase
    nix-shell buildPhase
    

License

MIT, read here.

Docker Pull Command
Owner
adolfogc
Source Repository

Comments (0)