summaryrefslogtreecommitdiff
path: root/gnu/packages/dlang.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-02-28 23:31:38 +0100
committerLudovic Courtès <ludo@gnu.org>2026-03-04 17:31:58 +0100
commit2bd0ba7226422d29af386bbc7b8302f16e891a6b (patch)
tree409d0c9088eea044ab34ed3e41a0ca27dfd0f394 /gnu/packages/dlang.scm
parent71dc089411718af7d28174eb54d6253ab1f59093 (diff)
gnu: Export non-trivial packages that were private.
This makes those packages visible to ‘fold-packages’, which in turns gives a clearer view of the package set to tools like (gnu ci) and ‘guix graph’. * gnu/packages/dlang.scm (ldc-bootstrap): Export and add ‘hidden?’ property. (ldc)[properties]: New field. (dmd-bootstrap): Export and add ‘hidden?’ property. (dmd)[properties]: New field. * gnu/packages/freedesktop.scm (xdgmime): Export and add ‘hidden?’ property. * gnu/packages/games.scm (glkterm, supertuxkart-data) (ring-racers-data, openttd-engine, openttd-opengfx, openttd-opensfx) (openttd-openmsx, openrct2-title-sequences, openrct2-objects) (xonotic-data): Export and add ‘hidden?’ property. (simgear): Export. * gnu/packages/gnucash.scm (gnucash-docs): Export and add ‘hidden? property. * gnu/packages/groovy.scm (java-groovy-bootstrap): Export and add ‘hidden?’ property. (groovy-bootstrap, groovy-tests-bootstrap, groovy-parser-antlr4) (groovy-test, groovy-xml, groovy-templates, groovy-groovydoc) (groovy-ant, groovy-astbuilder, groovy-bsf, groovy-cli-commons) (groovy-cli-picocli, groovy-swing, groovy-console, groovy-datetime) (groovy-dateutil, groovy-docgenerator, groovy-groovysh, groovy-jmx) (groovy-json, groovy-jsr223, groovy-nio, groovy-servlet) (groovy-sql, groovy-testng, groovy-macro, groovy-yaml): Export. (groovy)[properties]: New field. * gnu/packages/haskell-xyz.scm (ghc-chell-quickcheck-bootstrap) (ghc-options-bootstrap): Export and add ‘hidden?’ property. (ghc-system-fileio-bootstrap, ghc-system-filepath-bootstrap): Remove. * gnu/packages/haskell.scm (ghc-alex-bootstrap-for-9.4) (ghc-happy-bootstrap-for-9.4): Export. * gnu/packages/image-processing.scm (insight-toolkit-legacy): Export. * gnu/packages/java-bootstrap.scm (jikes): Export. (classpath-bootstrap): Export and add ‘hidden?’ property. (jamvm-1-bootstrap, ant-bootstrap, ecj-bootstrap): Likewise. (ecj-javac-wrapper, classpath-0.99, classpath-jamvm-wrappers): Export. (classpath-devel): Export and remove ‘hidden?’ property. (jamvm): Export. (ecj-javac-wrapper-final): Export and remove ‘hidden?’ property. (ecj4-bootstrap): Export and add ‘hidden?’ property. (ecj4-javac-wrapper): Export. (jamvm-with-ecj4): Export and remove ‘hidden?’ property. * gnu/packages/java-xml.scm (java-jaxen-bootstrap): Export and add ‘hidden?’ property. (java-jaxen)[properties]: New field. * gnu/packages/java.scm (java-plexus-container-default-bootstrap): Export and add ‘hidden?’ property. (java-plexus-container-default)[properties]: New field. (java-stringtemplate-4.0.6): Export. (antlr3-bootstrap): Export and add ‘hidden?’ property. (antlr3-3.3)[properties]: New field. (java-tunnelvisionlabs-antlr4-runtime-bootstrap): Export and add ‘hidden?’ property. (java-tunnelvisionlabs-antlr4-bootstrap): Likewise. (java-tunnelvisionlabs-antlr4-runtime)[properties]: New field. (java-tunnelvisionlabs-antlr4)[properties]: New field. (java-geronimo-genesis-2.1): Export. * gnu/packages/rails.scm (ruby-ammeter-bootstrap): Export and add ‘hidden?‘ property. (ruby-ammeter)[properties]: New field. * gnu/packages/ruby-check.scm (ruby-cucumber-compatibility-kit-bootstrap): Export and add ‘hidden?’ property. * gnu/packages/ruby-xyz.scm (ruby-rspec-block-is-expected-bootstrap): Likewise. (ruby-rubocop-capybara-minimal): Likewise. (ruby-rubocop-capybara)[property]: New field. (ruby-rubocop-rake-minimal): Export and add ‘hidden?’ property. (ruby-rubocop-rake)[properties]: New field. (ruby-rubocop-rspec-minimal): Export and add ‘hidden?’ property. (ruby-rubocop-rspec)[properties]: New field. (ruby-cucumber-without-tests): Export and add ‘hidden?’ property. (ruby-liquid-c-bootstrap): Likewise. (ruby-liquid-c)[properties]: New field. * gnu/packages/xorg.scm (xcffibgen): Export and add ‘hidden?’ property. Fixes: guix/maintenance#85 Change-Id: I39cc94accb4eefbe73801f1f237201b48e4a7def Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #6781
Diffstat (limited to 'gnu/packages/dlang.scm')
-rw-r--r--gnu/packages/dlang.scm21
1 files changed, 16 insertions, 5 deletions
diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm
index bf563bea26c..7448701723d 100644
--- a/gnu/packages/dlang.scm
+++ b/gnu/packages/dlang.scm
@@ -145,7 +145,7 @@ to a minimal test case.")
;; We use GDC, the D frontend for GCC, to bootstrap ldc. We then use
;; ldc to bootstrap itself so that no reference remains to GDC.
-(define ldc-bootstrap
+(define-public ldc-bootstrap
(package
(name "ldc")
(version "1.38.0")
@@ -207,7 +207,10 @@ bootstrapping more recent compilers written in D.")
(properties
;; Some of the tests take a very long time on ARMv7. See
;; <https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00312.html>.
- `((max-silent-time . ,(* 3600 3))))
+ `((max-silent-time . ,(* 3600 3))
+
+ ;; This variant exists solely for bootstrapping purposes.
+ (hidden? . #t)))
;; Most of the code is released under BSD-3, except for code originally
;; written for GDC, which is released under GPLv2+, and the DMD frontend,
;; which is released under the "Boost Software License version 1.0".
@@ -402,11 +405,13 @@ integration tests...\n")
(alist-replace "ldc" (list ldc-bootstrap)
(package-native-inputs ldc-bootstrap)))
`(("clang" ,clang-17) ;propagates llvm and clang-runtime
- ("python-lit" ,python-lit))))))
+ ("python-lit" ,python-lit))))
+ (properties
+ (alist-delete 'hidden? (package-properties ldc-bootstrap)))))
;;; Bootstrap version of phobos that is built with GDC, using GDC's standard
;;; library.
-(define dmd-bootstrap
+(define-public dmd-bootstrap
(package
;; This package is purposefully named just "dmd" and not "dmd-bootstrap",
;; as the final dmd package rewrites references from this one to itself,
@@ -528,6 +533,10 @@ compiler for the D programming language.")
;; As reported by upstream:
;; https://wiki.dlang.org/Compilers#Comparison
(supported-systems '("i686-linux" "x86_64-linux"))
+
+ ;; This variant exists only for bootstrapping purposes.
+ (properties '((hidden? . #t)))
+
(license license:boost1.0)))
;;; Second bootstrap of DMD, built using dmd-bootstrap, with its shared
@@ -571,7 +580,9 @@ compiler for the D programming language.")
(format #f "s,~a,~a,g" dmd-bootstrap #$output)
dmd))))))))
(native-inputs (modify-inputs (package-native-inputs dmd-bootstrap)
- (replace "gdmd" dmd-bootstrap)))))
+ (replace "gdmd" dmd-bootstrap)))
+ (properties
+ (alist-delete 'hidden? (package-properties dmd-bootstrap)))))
(define-public dub
(package