guix: import: Fix parsing Cabal files that import many stanzas * guix/import/cabal.scm (eval-cabal)[eval]: Split imports to a normalized list before mapping over it. * tests/hackage.scm: Test it. Change-Id: I39ece019251b6a23a937c8562d2d4a545a6bc7df Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
gnu: mes: Update to 0.26. * gnu/packages/mes.scm (mes): Update to 0.26. Change-Id: I0c88da0de34014aa10d317db1e997cb015e23d28
guix: import: Parse cabal layout blocks correctly Cabal consideres lines to be part of a layout block if they are indented at least one space more than the field line the block belongs to. Previously Guix considered lines to be a part of the block if they were indented at least as much as the first line in it. This also makes a workaround that enabled if statements to have multiple elses redundant and removes it. Fixes: https://issues.guix.gnu.org/35743 * guix/import/cabal.scm (current-indentation*): Renamed from current-indentation. (previous-indentation, current-indentation): New variables. (make-cabal-parser): Remove outdated comment. [open]: Use previous-indentation + 1 instead of current-indentation. [elif-else]: Split to elif and else to allow only one ELSE in an if statement. (read-cabal)[parameterize]: Use current-indentation* and previous-indentation. * tests/hackage.scm (hackage->guix-package test mixed layout): Expect to pass. Change-Id: I3a1495b1588a022fabbfe8dad9f3231e578af4f3 Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
guix: import: stackage: Fix crash on recursive import * guix/import/stackage.scm (lts-package-version): Call stackage-package-version only when the package is found. Change-Id: Ic8d7c1b7a42a9c1a6cbba567e148706507a53ee3 Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
guix: import: hackage: Fix crash on recursive import Fixes: https://issues.guix.gnu.org/64734 * guix/import/hackage.scm (hackage-module->sexp): Return package names instead of <upstream-input> records. Change-Id: Id428a8b903b4b59d44205ca366324a0a69a4e05b Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
gnu: ncdu-2: Mark as tunable. * gnu/packages/ncdu.scm (ncdu-2)[properties]: Mark package as tunable. Change-Id: I9cd9bd45be6c32c44da983432d69128657b98591
transformations: Add support for zig. * guix/transformations.scm (tuning-compiler): Add support for zig. Change-Id: I40bd28071c97c0dd0a907c704072b52b26d2de28 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu: zig: Add tuning information. * gnu/packages/zig.scm (zig-0.9, zig-0.10)[properties]: Add clang-properties matching input clang packages. Change-Id: Ib4a665a29e925b85d0e7695810a8889951dd1602
gnu: llvm: Export clang-properties. * gnu/packages/llvm.scm (clang-properties): Export variable. Change-Id: If5ef5219c3d29a347ae5ad97584c23bafdabf836
gnu: ncdu-2: Remove redundant make-flag. * gnu/packages/ncdu.scm (ncdu-2)[arguments]: Remove make-flag setting CPU to baseline. Change-Id: If2770d381404621648f53a8e64da8ffafcc33a8d
gnu: zig: Build with baseline cpu by default. * gnu/packages/patches/zig-use-baseline-cpu-by-default.patch: Add file. * gnu/packages/zig.scm (zig-0.10.1): Apply patch above. * gnu/local/mk (dist_patch_DATA): Register it. Change-Id: I40bd28071c97c0dd0a907c704072b52b26d2de28 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu: ldc: Update to 1.35.0. * gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.35.0. [arguments]: Adjust configure-flags to not build shared libraries. (ldc)[arguments]: Adjust configure-flags to remove defaults. Adjust 'patch-paths-in-tests phase for another hardcoded /bin/bash. Delete another test. Change-Id: Ie284a97ecda2689e6ed84a902eff990cfae8c195
gnu: python-lit: Update to 17.0.6. * gnu/packages/check.scm (python-lit): Update to 17.0.6. [native-inputs]: Remove llvm-14; add llvm. Change-Id: I45ccc5302c2481b82f26201e66994e15eeaecc9d
gnu: ldc: Enable building on more architectures. * gnu/packages/dlang.scm (ldc)[arguments]: In the custom phase 'fix-compiler-rt-library-discovery rewrite gnu-triplet->clang-arch to pass-through unmatched architectures.
gnu: josm: Reduce closure size. This saves 240MB of closure size. * gnu/packages/geo.scm (josm)[inputs]: Add openjdk11. [arguments]: Filter native inputs out of CLASSPATH. Use `java' from openjdk11 instead of the JDK. Change-Id: Ifa03b5cd033c5866d22e7557119284be0ea25a0e
gnu: java-openjfx-graphics: Make java-swt optional. It is used for an optional part of openjfx and not used by current packages in Guix. Swt has a reference to a library in the JDK and has a huge closure size because of that. This reduces closure by 1GB for this package and dependents (including josm). * gnu/packages/java.scm (java-openjfx-graphics)[native-inputs]: Move java-swt... [inputs]: ...to here. Change-Id: I7d8cb14569d5a9f451944695225a2dff143bf190
gnu: javacc: Do not reference a jdk. The jdk provides java and javac, while a jre only provides the necessary java, reducing the closure size by 350MB. * gnu/packages/java.scm (javacc): Remove #t at end of phases. [inputs]: Add icedtea-8 as the jre. [arguments]: Use it instead of the jdk. Change-Id: Icb218c40915550b7ff1db96a48a3c48fa6ef52b4
gnu: hut: Update to 0.4.0 * gnu/packages/version-control.scm (hut): Update to 0.4.0 Change-Id: Ib5dc28de6dbc3b69ca55a9530b923f71ca0ce7b5 Signed-off-by: Andrew Tropin <andrew@trop.in> Co-authored-by: Andrew Tropin <andrew@trop.in>
gnu: go-git-sr-ht-emersion-gqlclient: Update to 0.0.0-20230820050442-8873fe0204b9 * gnu/packages/golang.scm (go-git-sr-ht-emersion-gqlclient): Update to 0.0.0-20230820050442-8873fe0204b9 Change-Id: I15a35a0f25dd248938839ae766569e6fbf304ed6 Signed-off-by: Andrew Tropin <andrew@trop.in>
gnu: guix: Update to 1.4.0-16.aeb494322c. * gnu/packages/package-management.scm (guix): Update to 1.4.0-16.aeb494322c. Change-Id: Iae1af05094a1a589096a77ed61cf11dcec50f7a8