summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-01-10 22:47:35 +0100
committerLudovic Courtès <ludo@gnu.org>2024-01-14 23:00:02 +0100
commitdb43edaa0a7eaa0064224b31fbce07469ebeb93e (patch)
tree92d4264c7be3406198f55bba445269dfa56ba92e /gnu
parent3f301ddc4f57e933208d43be51c2296da2aa9e57 (diff)
gnu: Make intermediate packages public but hidden.
This makes those packages visible to (gnu ci), giving them first class in the eyes of Cuirass and similar tools, in turn ensuring substitutes are available (this was discovered by running ‘guix weather -c 10’). * gnu/packages/rust.scm (rust-bootstrap, rust-1.55) (rust-1.56, rust-1.57, rust-1.58, rust-1.59, rust-1.60) (rust-1.61, rust-1.62, rust-1.63, rust-1.64, rust-1.65) (rust-1.66, rust-1.67, rust-1.68, rust-1.69, rust-1.70) (rust-1.71, rust-1.72, rust-1.73): Make variable public and add ‘hidden?’ property. (rust): Remove ‘hidden?’ property. * gnu/packages/java.scm (java-hamcrest-parent-pom) (java-org-ow2-parent-pom-1.3, java-asm-bootstrap): Make variable public and add ‘hidden?’ property. * gnu/packages/ocaml.scm (dune-bootstrap) (ocaml4.09-dune-bootstrap, ocaml5.0-dune-bootstrap): Likewise. Change-Id: I32b0ea639a4f1c39466875acdbc9cbadf75c7668
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm9
-rw-r--r--gnu/packages/ocaml.scm7
-rw-r--r--gnu/packages/rust.scm48
3 files changed, 36 insertions, 28 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 3fa80dcfe78..a6d55aa3588 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3405,9 +3405,10 @@ declaratively, to be used in other frameworks. Typical scenarios include
3405testing frameworks, mocking libraries and UI validation rules.") 3405testing frameworks, mocking libraries and UI validation rules.")
3406 (license license:bsd-2))) 3406 (license license:bsd-2)))
3407 3407
3408(define java-hamcrest-parent-pom 3408(define-public java-hamcrest-parent-pom
3409 (package 3409 (package
3410 (inherit java-hamcrest-core) 3410 (inherit java-hamcrest-core)
3411 (properties '((hidden? . #t)))
3411 (name "java-hamcrest-parent-pom") 3412 (name "java-hamcrest-parent-pom")
3412 (propagated-inputs '()) 3413 (propagated-inputs '())
3413 (native-inputs '()) 3414 (native-inputs '())
@@ -4965,7 +4966,7 @@ transformations and analysis algorithms allow easily assembling custom
4965complex transformations and code analysis tools.") 4966complex transformations and code analysis tools.")
4966 (license license:bsd-3))) 4967 (license license:bsd-3)))
4967 4968
4968(define java-org-ow2-parent-pom-1.3 4969(define-public java-org-ow2-parent-pom-1.3
4969 (package 4970 (package
4970 (name "java-org-ow2-parent-pom") 4971 (name "java-org-ow2-parent-pom")
4971 (version "1.3") 4972 (version "1.3")
@@ -4989,12 +4990,14 @@ complex transformations and code analysis tools.")
4989 (synopsis "Ow2.org parent pom") 4990 (synopsis "Ow2.org parent pom")
4990 (description "This package contains the parent pom for projects from ow2.org, 4991 (description "This package contains the parent pom for projects from ow2.org,
4991including java-asm.") 4992including java-asm.")
4993 (properties '((hidden? . #t)))
4992 (license license:lgpl2.1+))) 4994 (license license:lgpl2.1+)))
4993 4995
4994(define java-asm-bootstrap 4996(define-public java-asm-bootstrap
4995 (package 4997 (package
4996 (inherit java-asm) 4998 (inherit java-asm)
4997 (name "java-asm-bootstrap") 4999 (name "java-asm-bootstrap")
5000 (properties '((hidden? . #t)))
4998 (arguments 5001 (arguments
4999 (substitute-keyword-arguments (package-arguments java-asm) 5002 (substitute-keyword-arguments (package-arguments java-asm)
5000 ((#:tests? _) #f))) 5003 ((#:tests? _) #f)))
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a8c497da950..e166cdec2f1 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1713,7 +1713,7 @@ full_split, cut, rcut, etc..")
1713 ;; where it says `mit'. 1713 ;; where it says `mit'.
1714 (license license:expat))) 1714 (license license:expat)))
1715 1715
1716(define dune-bootstrap 1716(define-public dune-bootstrap
1717 (package 1717 (package
1718 (name "dune") 1718 (name "dune")
1719 (version "3.6.1") 1719 (version "3.6.1")
@@ -1745,12 +1745,13 @@ full_split, cut, rcut, etc..")
1745 (description "Dune is a build system that was designed to simplify the 1745 (description "Dune is a build system that was designed to simplify the
1746release of Jane Street packages. It reads metadata from @file{dune} files 1746release of Jane Street packages. It reads metadata from @file{dune} files
1747following a very simple s-expression syntax.") 1747following a very simple s-expression syntax.")
1748 (properties '((hidden? . #t)))
1748 (license license:expat))) 1749 (license license:expat)))
1749 1750
1750(define ocaml4.09-dune-bootstrap 1751(define-public ocaml4.09-dune-bootstrap
1751 (package-with-ocaml4.09 dune-bootstrap)) 1752 (package-with-ocaml4.09 dune-bootstrap))
1752 1753
1753(define ocaml5.0-dune-bootstrap 1754(define-public ocaml5.0-dune-bootstrap
1754 (package-with-ocaml5.0 dune-bootstrap)) 1755 (package-with-ocaml5.0 dune-bootstrap))
1755 1756
1756(define-public dune-configurator 1757(define-public dune-configurator
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 64cde7ea14e..104834deab7 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -69,6 +69,7 @@
69 #:use-module (guix gexp) 69 #:use-module (guix gexp)
70 #:use-module (ice-9 match) 70 #:use-module (ice-9 match)
71 #:use-module (ice-9 optargs) 71 #:use-module (ice-9 optargs)
72 #:use-module (srfi srfi-1)
72 #:use-module (srfi srfi-26)) 73 #:use-module (srfi srfi-26))
73 74
74;; This is the hash for the empty file, and the reason it's relevant is not 75;; This is the hash for the empty file, and the reason it's relevant is not
@@ -161,7 +162,7 @@
161 162
162;;; Rust 1.54 is special in that it is built with mrustc, which shortens the 163;;; Rust 1.54 is special in that it is built with mrustc, which shortens the
163;;; bootstrap path. 164;;; bootstrap path.
164(define rust-bootstrap 165(define-public rust-bootstrap
165 (package 166 (package
166 (name "rust") 167 (name "rust")
167 (version "1.54.0") 168 (version "1.54.0")
@@ -186,7 +187,8 @@
186 (patches (search-patches "rustc-1.54.0-src.patch")) 187 (patches (search-patches "rustc-1.54.0-src.patch"))
187 (patch-flags '("-p0")))) ;default is -p1 188 (patch-flags '("-p0")))) ;default is -p1
188 (outputs '("out" "cargo")) 189 (outputs '("out" "cargo"))
189 (properties '((timeout . 72000) ;20 hours 190 (properties '((hidden? . #t)
191 (timeout . 72000) ;20 hours
190 (max-silent-time . 18000))) ;5 hours (for armel) 192 (max-silent-time . 18000))) ;5 hours (for armel)
191 (build-system gnu-build-system) 193 (build-system gnu-build-system)
192 (inputs 194 (inputs
@@ -379,7 +381,7 @@ safety and thread safety guarantees.")
379 ;; Dual licensed. 381 ;; Dual licensed.
380 (license (list license:asl2.0 license:expat)))) 382 (license (list license:asl2.0 license:expat))))
381 383
382(define rust-1.55 384(define-public rust-1.55
383 (package 385 (package
384 (name "rust") 386 (name "rust")
385 (version "1.55.0") 387 (version "1.55.0")
@@ -407,7 +409,8 @@ safety and thread safety guarantees.")
407 ((" target_arch = \"s390x\"," all) 409 ((" target_arch = \"s390x\"," all)
408 (string-append all "\n target_arch = \"riscv64\","))))))) 410 (string-append all "\n target_arch = \"riscv64\",")))))))
409 (outputs '("out" "cargo")) 411 (outputs '("out" "cargo"))
410 (properties '((timeout . 72000) ;20 hours 412 (properties '((hidden? . #t)
413 (timeout . 72000) ;20 hours
411 (max-silent-time . 18000))) ;5 hours (for armel) 414 (max-silent-time . 18000))) ;5 hours (for armel)
412 (build-system gnu-build-system) 415 (build-system gnu-build-system)
413 (arguments 416 (arguments
@@ -564,7 +567,7 @@ safety and thread safety guarantees.")
564 ;; Dual licensed. 567 ;; Dual licensed.
565 (license (list license:asl2.0 license:expat)))) 568 (license (list license:asl2.0 license:expat))))
566 569
567(define rust-1.56 570(define-public rust-1.56
568 (let ((base-rust (rust-bootstrapped-package 571 (let ((base-rust (rust-bootstrapped-package
569 rust-1.55 "1.56.1" 572 rust-1.55 "1.56.1"
570 "04cmqx7nn63hzz7z27b2b0dj2qx18rck9ifvip43s6dampx8v2f3"))) 573 "04cmqx7nn63hzz7z27b2b0dj2qx18rck9ifvip43s6dampx8v2f3")))
@@ -584,13 +587,13 @@ safety and thread safety guarantees.")
584 (string-append name "\"" ,%cargo-reference-hash "\""))) 587 (string-append name "\"" ,%cargo-reference-hash "\"")))
585 (generate-all-checksums "vendor")))))))))) 588 (generate-all-checksums "vendor"))))))))))
586 589
587(define rust-1.57 590(define-public rust-1.57
588 (rust-bootstrapped-package 591 (rust-bootstrapped-package
589 ;; Verified that it *doesn't* build with 1.55. e.g.: 592 ;; Verified that it *doesn't* build with 1.55. e.g.:
590 ;; * feature `edition2021` is required 593 ;; * feature `edition2021` is required
591 rust-1.56 "1.57.0" "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim")) 594 rust-1.56 "1.57.0" "06jw8ka2p3kls8p0gd4p0chhhb1ia1mlvj96zn78n7qvp71zjiim"))
592 595
593(define rust-1.58 596(define-public rust-1.58
594 (rust-bootstrapped-package 597 (rust-bootstrapped-package
595 ;; Verified that it *doesn't* build with 1.56. e.g.: 598 ;; Verified that it *doesn't* build with 1.56. e.g.:
596 ;; * error: attributes starting with `rustc` are reserved for use by the 599 ;; * error: attributes starting with `rustc` are reserved for use by the
@@ -600,7 +603,7 @@ safety and thread safety guarantees.")
600 ;; `const_eval_select_ct` 603 ;; `const_eval_select_ct`
601 rust-1.57 "1.58.1" "1iq7kj16qfpkx8gvw50d8rf7glbm6s0pj2y1qkrz7mi56vfsyfd8")) 604 rust-1.57 "1.58.1" "1iq7kj16qfpkx8gvw50d8rf7glbm6s0pj2y1qkrz7mi56vfsyfd8"))
602 605
603(define rust-1.59 606(define-public rust-1.59
604 (let ((base-rust 607 (let ((base-rust
605 (rust-bootstrapped-package 608 (rust-bootstrapped-package
606 ;; Verified that it *doesn't* build with 1.57. e.g.: 609 ;; Verified that it *doesn't* build with 1.57. e.g.:
@@ -629,13 +632,13 @@ safety and thread safety guarantees.")
629 (("\\.insn i 0x0F, 0, x0, x0, 0x010") ".word 0x0100000F"))))))) 632 (("\\.insn i 0x0F, 0, x0, x0, 0x010") ".word 0x0100000F")))))))
630 (package-arguments base-rust)))))) 633 (package-arguments base-rust))))))
631 634
632(define rust-1.60 635(define-public rust-1.60
633 (rust-bootstrapped-package 636 (rust-bootstrapped-package
634 ;; Verified that it *doesn't* build with 1.58. e.g.: 637 ;; Verified that it *doesn't* build with 1.58. e.g.:
635 ;; * error: unknown codegen option: `symbol-mangling-version` 638 ;; * error: unknown codegen option: `symbol-mangling-version`
636 rust-1.59 "1.60.0" "1drqr0a26x1rb2w3kj0i6abhgbs3jx5qqkrcwbwdlx7n3inq5ji0")) 639 rust-1.59 "1.60.0" "1drqr0a26x1rb2w3kj0i6abhgbs3jx5qqkrcwbwdlx7n3inq5ji0"))
637 640
638(define rust-1.61 641(define-public rust-1.61
639 (let ((base-rust 642 (let ((base-rust
640 (rust-bootstrapped-package 643 (rust-bootstrapped-package
641 rust-1.60 "1.61.0" "1vfs05hkf9ilk19b2vahqn8l6k17pl9nc1ky9kgspaascx8l62xd"))) 644 rust-1.60 "1.61.0" "1vfs05hkf9ilk19b2vahqn8l6k17pl9nc1ky9kgspaascx8l62xd")))
@@ -657,15 +660,15 @@ safety and thread safety guarantees.")
657 (for-each delete-file 660 (for-each delete-file
658 (find-files "vendor" ".*\\.(a|dll|exe|lib)$"))))))))) 661 (find-files "vendor" ".*\\.(a|dll|exe|lib)$")))))))))
659 662
660(define rust-1.62 663(define-public rust-1.62
661 (rust-bootstrapped-package 664 (rust-bootstrapped-package
662 rust-1.61 "1.62.1" "0gqkg34ic77dcvsz69qbdng6g3zfhl6hnhx7ha1mjkyrzipvxb3j")) 665 rust-1.61 "1.62.1" "0gqkg34ic77dcvsz69qbdng6g3zfhl6hnhx7ha1mjkyrzipvxb3j"))
663 666
664(define rust-1.63 667(define-public rust-1.63
665 (rust-bootstrapped-package 668 (rust-bootstrapped-package
666 rust-1.62 "1.63.0" "1l4rrbzhxv88pnfq94nbyb9m6lfnjwixma3mwjkmvvs2aqlq158z")) 669 rust-1.62 "1.63.0" "1l4rrbzhxv88pnfq94nbyb9m6lfnjwixma3mwjkmvvs2aqlq158z"))
667 670
668(define rust-1.64 671(define-public rust-1.64
669 (let ((base-rust 672 (let ((base-rust
670 (rust-bootstrapped-package 673 (rust-bootstrapped-package
671 rust-1.63 "1.64.0" "018j720b2n12slp4xk64jc6shkncd46d621qdyzh2a8s3r49zkdk"))) 674 rust-1.63 "1.64.0" "018j720b2n12slp4xk64jc6shkncd46d621qdyzh2a8s3r49zkdk")))
@@ -689,7 +692,7 @@ safety and thread safety guarantees.")
689 (string-append name "\"" ,%cargo-reference-hash "\""))) 692 (string-append name "\"" ,%cargo-reference-hash "\"")))
690 (generate-all-checksums "vendor")))))))))) 693 (generate-all-checksums "vendor"))))))))))
691 694
692(define rust-1.65 695(define-public rust-1.65
693 (let ((base-rust 696 (let ((base-rust
694 (rust-bootstrapped-package 697 (rust-bootstrapped-package
695 rust-1.64 "1.65.0" "0f005kc0vl7qyy298f443i78ibz71hmmh820726bzskpyrkvna2q"))) 698 rust-1.64 "1.65.0" "0f005kc0vl7qyy298f443i78ibz71hmmh820726bzskpyrkvna2q")))
@@ -701,11 +704,11 @@ safety and thread safety guarantees.")
701 (patches '()) 704 (patches '())
702 (patch-flags '("-p1"))))))) 705 (patch-flags '("-p1")))))))
703 706
704(define rust-1.66 707(define-public rust-1.66
705 (rust-bootstrapped-package 708 (rust-bootstrapped-package
706 rust-1.65 "1.66.1" "1fjr94gsicsxd2ypz4zm8aad1zdbiccr7qjfbmq8f8f7jhx96g2v")) 709 rust-1.65 "1.66.1" "1fjr94gsicsxd2ypz4zm8aad1zdbiccr7qjfbmq8f8f7jhx96g2v"))
707 710
708(define rust-1.67 711(define-public rust-1.67
709 (let ((base-rust 712 (let ((base-rust
710 (rust-bootstrapped-package 713 (rust-bootstrapped-package
711 rust-1.66 "1.67.1" "0vpzv6rm3w1wbni17ryvcw83k5klhghklylfdza3nnp8blz3sj26"))) 714 rust-1.66 "1.67.1" "0vpzv6rm3w1wbni17ryvcw83k5klhghklylfdza3nnp8blz3sj26")))
@@ -714,11 +717,11 @@ safety and thread safety guarantees.")
714 (inputs (modify-inputs (package-inputs base-rust) 717 (inputs (modify-inputs (package-inputs base-rust)
715 (replace "llvm" llvm-15)))))) 718 (replace "llvm" llvm-15))))))
716 719
717(define rust-1.68 720(define-public rust-1.68
718 (rust-bootstrapped-package 721 (rust-bootstrapped-package
719 rust-1.67 "1.68.2" "15ifyd5jj8rd979dkakp887hgmhndr68pqaqvd2hqkfdywirqcwk")) 722 rust-1.67 "1.68.2" "15ifyd5jj8rd979dkakp887hgmhndr68pqaqvd2hqkfdywirqcwk"))
720 723
721(define rust-1.69 724(define-public rust-1.69
722 (let ((base-rust 725 (let ((base-rust
723 (rust-bootstrapped-package 726 (rust-bootstrapped-package
724 rust-1.68 "1.69.0" 727 rust-1.68 "1.69.0"
@@ -737,7 +740,7 @@ safety and thread safety guarantees.")
737 (for-each delete-file 740 (for-each delete-file
738 (find-files "vendor" "\\.(a|dll|exe|lib)$"))))))))) 741 (find-files "vendor" "\\.(a|dll|exe|lib)$")))))))))
739 742
740(define rust-1.70 743(define-public rust-1.70
741 (let ((base-rust 744 (let ((base-rust
742 (rust-bootstrapped-package 745 (rust-bootstrapped-package
743 rust-1.69 "1.70.0" 746 rust-1.69 "1.70.0"
@@ -754,7 +757,7 @@ safety and thread safety guarantees.")
754 ;; for a precompiled library. 757 ;; for a precompiled library.
755 (patches (search-patches "rust-1.70-fix-rustix-build.patch"))))))) 758 (patches (search-patches "rust-1.70-fix-rustix-build.patch")))))))
756 759
757(define rust-1.71 760(define-public rust-1.71
758 (let ((base-rust 761 (let ((base-rust
759 (rust-bootstrapped-package 762 (rust-bootstrapped-package
760 rust-1.70 "1.71.1" "0bj79syjap1kgpg9pc0r4jxc0zkxwm6phjf3digsfafms580vabg"))) 763 rust-1.70 "1.71.1" "0bj79syjap1kgpg9pc0r4jxc0zkxwm6phjf3digsfafms580vabg")))
@@ -773,7 +776,7 @@ safety and thread safety guarantees.")
773 (string-append name "\"" ,%cargo-reference-hash "\""))) 776 (string-append name "\"" ,%cargo-reference-hash "\"")))
774 (generate-all-checksums "vendor")))))))))) 777 (generate-all-checksums "vendor"))))))))))
775 778
776(define rust-1.72 779(define-public rust-1.72
777 (let ((base-rust 780 (let ((base-rust
778 (rust-bootstrapped-package 781 (rust-bootstrapped-package
779 rust-1.71 "1.72.1" "15gqd1jzhnc16a7gjmav4x1v83jjbzyjh1gvcdfvpkajd9gq8j3z"))) 782 rust-1.71 "1.72.1" "15gqd1jzhnc16a7gjmav4x1v83jjbzyjh1gvcdfvpkajd9gq8j3z")))
@@ -798,7 +801,7 @@ safety and thread safety guarantees.")
798 (string-append "rustix = { version = \"=0.37.11\"," 801 (string-append "rustix = { version = \"=0.37.11\","
799 " features = [\"use-libc\"] }")))))))))) 802 " features = [\"use-libc\"] }"))))))))))
800 803
801(define rust-1.73 804(define-public rust-1.73
802 (let ((base-rust (rust-bootstrapped-package rust-1.72 "1.73.0" 805 (let ((base-rust (rust-bootstrapped-package rust-1.72 "1.73.0"
803 "0fmvn7vg3qg9xprgfwv10g3ygy8i4j4bkcxcr1xdy89d3xnjxmln"))) 806 "0fmvn7vg3qg9xprgfwv10g3ygy8i4j4bkcxcr1xdy89d3xnjxmln")))
804 (package 807 (package
@@ -838,6 +841,7 @@ safety and thread safety guarantees.")
838 (let ((base-rust rust-1.73)) 841 (let ((base-rust rust-1.73))
839 (package 842 (package
840 (inherit base-rust) 843 (inherit base-rust)
844 (properties (alist-delete 'hidden? (package-properties base-rust)))
841 (outputs (cons* "rust-src" "tools" (package-outputs base-rust))) 845 (outputs (cons* "rust-src" "tools" (package-outputs base-rust)))
842 (arguments 846 (arguments
843 (substitute-keyword-arguments (package-arguments base-rust) 847 (substitute-keyword-arguments (package-arguments base-rust)