1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-08 19:24:05 +02:00

Compare commits

..

5 Commits

Author SHA1 Message Date
Ludovic Courtès 7af6ecab6e gnu: guix: Really skip "pivot-root" test.
This is a followup to fe9bdb581e (which
introduced 'test-equal' for the "pivot-root" test) and to
198eac2bca (which updated the regexps for
skipped tests.)

* gnu/packages/package-management.scm (guix-0.12.0)[arguments]: In
'disable-container-tests' phase, add "test-equal" to the regexp, so that
"pivot-root" is really skipped.
2016-12-21 14:28:28 +01:00
Ricardo Wurmus 7aa8785c41 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to b291b327.
2016-12-21 10:32:17 +01:00
Ludovic Courtès b291b3271a gnu: linux-libre: Avoid invalid "kconfig" input on armhf and mips64el.
This fixes a bug whereby:

  guix build linux-libre -s armhf-linux

would fail with:

  guix build: error: gnu/packages/linux.scm:231:2: package `linux-libre-4.8.15' has an invalid input: ("kconfig" #f)

This led 'tests/guix-system.sh' to fail.

* gnu/packages/linux.scm (make-linux-libre)[native-inputs]: Never add #f
as a "kconfig" input.
2016-12-21 10:22:32 +01:00
Ricardo Wurmus 62a3179395 gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to c8e2219c.
(guix): Set to GUIX-DEVEL.
2016-12-20 18:06:00 +01:00
Ricardo Wurmus c8e2219cfb gnu: guix: Update to 0.12.0.
* gnu/packages/package-management.scm (guix-0.11.0): Rename to...
(guix-0.12.0): ... this.  Adjust users.
(guix): Set to GUIX-0.12.0.
2016-12-20 17:58:06 +01:00
2 changed files with 18 additions and 16 deletions
+9 -7
View File
@@ -242,13 +242,15 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
("bc" ,bc)
("openssl" ,openssl)
("kmod" ,kmod)
,@(if configuration-file
`(("kconfig" ,(configuration-file
(system->linux-architecture
(or (%current-target-system)
(%current-system)))
#:variant (version-major+minor version))))
'())))
,@(match (and configuration-file
(configuration-file
(system->linux-architecture
(or (%current-target-system) (%current-system)))
#:variant (version-major+minor version)))
(#f ;no config for this platform
'())
((? string? config)
`(("kconfig" ,config))))))
(arguments
`(#:modules ((guix build gnu-build-system)
(guix build utils)
+9 -9
View File
@@ -68,17 +68,17 @@
arch "-linux"
"/20131110/guile-2.0.9.tar.xz")))
(define-public guix-0.11.0
(define-public guix-0.12.0
(package
(name "guix")
(version "0.11.0")
(version "0.12.0")
(source (origin
(method url-fetch)
(uri (string-append "ftp://alpha.gnu.org/gnu/guix/guix-"
version ".tar.gz"))
(sha256
(base32
"1cwrbpv4dq7aczwksmcfw9w8r2bzrb5ld9zvjcr90i804hjpcb93"))))
"1jgy5mlygmhxdqhrp6vr8w83ndcm5mk64xfravr8l2d7hq8y40b2"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list
@@ -121,7 +121,7 @@
;; XXX FIXME: These tests fail within the build container.
(lambda _
(substitute* "tests/syscalls.scm"
(("^\\(test-assert \"(clone|setns|pivot-root)\"" all)
(("^\\(test-(assert|equal) \"(clone|setns|pivot-root)\"" all)
(string-append "(test-skip 1)\n" all)))
(substitute* "tests/containers.scm"
(("^\\(test-(assert|equal)" all)
@@ -226,9 +226,9 @@ the Nix package manager.")
;;
;; Note: use a very short commit id; with a longer one, the limit on
;; hash-bang lines would be exceeded while running the tests.
(let ((commit "8d125cfc2e5cb0825bb40893ec3e940f85f1b235"))
(package (inherit guix-0.11.0)
(version (string-append "0.11.0-8." (string-take commit 4)))
(let ((commit "b291b3271a025dfe41e1a7fdfadd393373b0128d"))
(package (inherit guix-0.12.0)
(version (string-append "0.12.0-2." (string-take commit 4)))
(source (origin
(method git-fetch)
(uri (git-reference
@@ -238,10 +238,10 @@ the Nix package manager.")
(commit commit)))
(sha256
(base32
"0h73m1zad67qqn7ygypcqscicvqj31wwkxsr85d5lr77v6bx7b6z"))
"1hris387xn2wk4lcl20x1zyhiz96060w34xs1x13b4vmvkkvcpg4"))
(file-name (string-append "guix-" version "-checkout"))))
(arguments
(substitute-keyword-arguments (package-arguments guix-0.11.0)
(substitute-keyword-arguments (package-arguments guix-0.12.0)
((#:configure-flags flags)
;; Set 'DOT_USER_PROGRAM' to the empty string so we don't keep a
;; reference to Graphviz, whose closure is pretty big (too big for