nixpkgs/pkgs
Graham Christensen a32d7e0c74 dockerTools.buildImage: support impure dates
Because dates are an impurity, by default buildImage will use a static
date of one second past the UNIX Epoch. This can be a bit frustrating
when listing docker images in the CLI:

    $ docker image list
    REPOSITORY   TAG      IMAGE ID       CREATED        SIZE
    hello        latest   08c791c7846e   48 years ago   25.2MB

If you want to trade the purity for a better user experience, you can
set created to now.

    pkgs.dockerTools.buildImage {
      name = "hello";
      tag = "latest";
      created = "now";
      contents = pkgs.hello;

      config.Cmd = [ "/bin/hello" ];
    }

and now the Docker CLI will display a reasonable date and sort the
images as expected:

    $ docker image list
    REPOSITORY   TAG      IMAGE ID       CREATED              SIZE
    hello        latest   de2bf4786de6   About a minute ago   25.2MB
2018-09-20 18:26:02 +02:00
..
applications Merge pull request #46976 from r-ryantm/auto-update/pulseeffects 2018-09-20 15:46:40 +02:00
build-support dockerTools.buildImage: support impure dates 2018-09-20 18:26:02 +02:00
common-updater
data ddccontrol-db: 20061014 -> 20180908 (#46865) 2018-09-19 09:33:07 +02:00
desktops efl: 1.21.0 -> 1.21.1 2018-09-17 22:12:42 -03:00
development Merge pull request #46956 from Taneb/sbv-fix-z3 2018-09-20 14:03:36 +02:00
games Merge pull request #46385 from xeji/p/broken 2018-09-15 00:54:49 +02:00
misc vim-tsx: init at 2017-03-16 2018-09-20 08:44:45 +01:00
os-specific Merge pull request #46969 from r-ryantm/auto-update/rdma-core 2018-09-20 07:38:27 -07:00
servers openxpki: fix build, use current python3Packages (#46860) 2018-09-19 16:16:19 +02:00
shells zsh: 5.6.1 -> 5.6.2 2018-09-15 00:05:48 -05:00
stdenv Merge pull request #46857 from obsidiansystems/darwin-to-linux-prep 2018-09-18 16:52:30 -04:00
test
tools Merge pull request #46943 from lheckemann/glxinfo-bump 2018-09-20 11:43:35 +01:00
top-level linux: 4.18.8 -> 4.18.9 2018-09-20 09:52:48 -04:00