diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2015-11-03 09:37:52 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-03 09:39:35 +0100 |
| commit | dc57d527aee4eb18ec5fb345f90d6637bbd1a4d2 (patch) | |
| tree | dd5b26b8a8414d4d9a98efcc302841116aa15172 | |
| parent | 6e32aa568c0a1f4f41d61167cb328ca56f2de250 (diff) | |
gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-0.8.3)[arguments]: In
'disable-container-tests' phase, modify
"tests/guix-environment-container.sh". Add 'set-SHELL' phase.
* gnu/packages/package-management.scm (guix-devel): Update to b485f75.
| -rw-r--r-- | gnu/packages/package-management.scm | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 65464f7691c..c1ef2e15c40 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm | |||
| @@ -82,6 +82,7 @@ | |||
| 82 | (string-append "--with-libgcrypt-prefix=" | 82 | (string-append "--with-libgcrypt-prefix=" |
| 83 | (assoc-ref %build-inputs | 83 | (assoc-ref %build-inputs |
| 84 | "libgcrypt"))) | 84 | "libgcrypt"))) |
| 85 | #:parallel-tests? #f ;work around <http://bugs.gnu.org/21097> | ||
| 85 | #:phases (modify-phases %standard-phases | 86 | #:phases (modify-phases %standard-phases |
| 86 | (add-before | 87 | (add-before |
| 87 | 'configure 'copy-bootstrap-guile | 88 | 'configure 'copy-bootstrap-guile |
| @@ -117,7 +118,17 @@ | |||
| 117 | (substitute* "tests/containers.scm" | 118 | (substitute* "tests/containers.scm" |
| 118 | (("^\\(test-assert" all) | 119 | (("^\\(test-assert" all) |
| 119 | (string-append "(test-skip 1)\n" all))) | 120 | (string-append "(test-skip 1)\n" all))) |
| 121 | (when (file-exists? "tests/guix-environment-container.sh") | ||
| 122 | (substitute* "tests/guix-environment-container.sh" | ||
| 123 | (("guix environment --version") | ||
| 124 | "exit 77\n"))) | ||
| 120 | #t)) | 125 | #t)) |
| 126 | (add-before 'check 'set-SHELL | ||
| 127 | (lambda _ | ||
| 128 | ;; 'guix environment' tests rely on 'SHELL' having a | ||
| 129 | ;; correct value, so set it. | ||
| 130 | (setenv "SHELL" (which "sh")) | ||
| 131 | #t)) | ||
| 121 | (add-after | 132 | (add-after |
| 122 | 'install 'wrap-program | 133 | 'install 'wrap-program |
| 123 | (lambda* (#:key inputs outputs #:allow-other-keys) | 134 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| @@ -184,7 +195,7 @@ the Nix package manager.") | |||
| 184 | ;; | 195 | ;; |
| 185 | ;; Note: use a short commit id; when using the long one, the limit on socket | 196 | ;; Note: use a short commit id; when using the long one, the limit on socket |
| 186 | ;; file names is exceeded while running the tests. | 197 | ;; file names is exceeded while running the tests. |
| 187 | (let ((commit "abbe2c6")) | 198 | (let ((commit "b485f75")) |
| 188 | (package (inherit guix-0.8.3) | 199 | (package (inherit guix-0.8.3) |
| 189 | (version (string-append "0.8.3." commit)) | 200 | (version (string-append "0.8.3." commit)) |
| 190 | (source (origin | 201 | (source (origin |
| @@ -194,7 +205,7 @@ the Nix package manager.") | |||
| 194 | (commit commit))) | 205 | (commit commit))) |
| 195 | (sha256 | 206 | (sha256 |
| 196 | (base32 | 207 | (base32 |
| 197 | "1zgjj5knpz3qbbqdjm4yh436bzfgasc6p0k3xnx58hfjd88mdsga")) | 208 | "1frn74y5c3n91qxs5b3sxbr8ai43s6svlb2djfnp7nqbr1ax3mph")) |
| 198 | (file-name (string-append "guix-" version "-checkout")))) | 209 | (file-name (string-append "guix-" version "-checkout")))) |
| 199 | (arguments | 210 | (arguments |
| 200 | (substitute-keyword-arguments (package-arguments guix-0.8.3) | 211 | (substitute-keyword-arguments (package-arguments guix-0.8.3) |
