tweag/stack-docker-nix

Name: stack-docker-nix

Owner: Tweag I/O

Description: Provision Haskell Stack Docker images using Nix

Created: 2016-11-27 17:07:00.0

Updated: 2018-04-02 00:11:59.0

Pushed: 2017-11-15 11:33:03.0

Homepage:

Size: 10

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Provision Haskell Stack Docker images using Nix

This is a Docker image suitable for use with Stack. It uses a shell.nix file for specifying what software packages to provision, so that stack --nix (see here) and stack --docker (see here) use the same specification.

To use this as a base image, add the following to your Dockerfile:

 tweag/stack-docker-nix

shell.nix /
ean up non-essential downloaded archives after provisioning a shell.
nix-shell /shell.nix --indirect --add-root /nix-shell-gc-root \
&& nix-collect-garbage
IN_NIX_SHELL=1 nix-instantiate \
--add-root /shell.drv --indirect /shell.nix \
&& nix-collect-garbage

New versions of this image are pushed to DockerHub every time the master branch is updated.

License

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.

See the CC0 public domain dedication for more information.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.