Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Guix support #115

Merged
merged 5 commits into from
Nov 23, 2024
Merged

Improve Guix support #115

merged 5 commits into from
Nov 23, 2024

Conversation

civodul
Copy link
Collaborator

@civodul civodul commented Nov 17, 2024

These patches improves Guix support to make it easier to test a variety of configurations.

With the last patch, runnin:

guix build -L .guix/modules -m .guix/manifest.scm

... will perform several native builds (x86_64-linux, i686-linux, Guile 3.0 and 2.2, with and without libevent) and cross-compilation builds (currently failing; see #111).

env.in Outdated Show resolved Hide resolved
build-aux/guile.am Outdated Show resolved Hide resolved
tests/speedup.scm Outdated Show resolved Hide resolved
Copy link
Collaborator

@emixa-d emixa-d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The security thing is particularly important.

This follows the guidelines in
<https://guix.gnu.org/cookbook/en/html_node/Software-Development.html>.

* .guix/modules/fibers-package.scm: New file, based on…
* guix.scm: … this.  Turn into a symlink to the above.
* Makefile.am (EXTRA_DIST): Add both files.
This is clearer and less ambiguous: if the person has additional
channels providing same-named packages, it will still refer to the
canonical packages under (gnu packages …).

* .guix/modules/fibers-package.scm (S): Remove.
(guile-fibers)[native-inputs, inputs]: Directly refer to the right (gnu
packages …) variables.
[synopsis]: Remove outdated sentence.
* .guix/modules/fibers-package.scm (guile2.2-fibers)
(guile-fibers/libevent): New variables.
* .guix/modules/fibers-package.scm (guile-fibers)[native-inputs]: Add
Guile.
* .guix/manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
@civodul civodul force-pushed the improve-guix-support branch from d18e054 to 9dc3c95 Compare November 23, 2024 10:45
@civodul civodul merged commit 96cd1f4 into wingo:master Nov 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants