diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-06-01 23:41:40 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-01 23:41:40 +0200 |
commit | a13c1bf4ca0b15fa53235c2bd6aa53e4a75c7d0f (patch) | |
tree | 8a19fb07861c685199beb9b8beb4f7d8f2a3d22a /guix/docker.scm | |
parent | babeea3f9f46c1f1f812e590f46283e91684f327 (diff) | |
parent | 1a3e3162acafd32ff2fb675f2f780d986692c52d (diff) | |
download | gnu-guix-a13c1bf4ca0b15fa53235c2bd6aa53e4a75c7d0f.tar gnu-guix-a13c1bf4ca0b15fa53235c2bd6aa53e4a75c7d0f.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'guix/docker.scm')
-rw-r--r-- | guix/docker.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/guix/docker.scm b/guix/docker.scm index a75534c33b..b869901599 100644 --- a/guix/docker.scm +++ b/guix/docker.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net> -;;; Copyright © 2017 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2017, 2018 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com> ;;; ;;; This file is part of GNU Guix. @@ -26,6 +26,7 @@ delete-file-recursively with-directory-excursion invoke)) + #:use-module (json) ;guile-json #:use-module (srfi srfi-19) #:use-module (srfi srfi-26) #:use-module ((texinfo string-utils) @@ -34,9 +35,6 @@ #:use-module (ice-9 match) #:export (build-docker-image)) -;; Load Guile-JSON at run time to simplify the job of 'imported-modules' & co. -(module-use! (current-module) (resolve-interface '(json))) - ;; Generate a 256-bit identifier in hexadecimal encoding for the Docker image. (define docker-id (compose bytevector->base16-string sha256 string->utf8)) |