You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds guix.scm, providing a package for xc which uses the local source files in the git working tree instead of building from the last tagged release.
Outcomes for Guix users
Guix users working on xc will benefit in a variety of cases:
use case
example
provision a dev environment with all dependencies
guix shell --development
test whether the current git tree will build in Guix
guix build --file=guix.scm
check for undeclared runtime dependencies
guix shell --container --file=guix.scm -- xc
No documentation changes
This shouldn't have any impact on non-Guix users, and there's no documentation for Nix users presently, so I decided not to add any for this. If you would welcome it, I can write a paragraph in the README about using Guix for development.
Guix upstream
Upstream Guix accepted my patch to include the package for xc and its dependencies, which means we can ship a lean guix.scm.
I'll just wing a paragraph here off the top of my head something like what I'd propose for the docs if we were to do them, in case it helps provoke a gut response as to whether it's valuable
Contributing to xc using Guix
An easy way to get started contributing to xc is to use GNU Guix, which has a package recipe for xc. Use guix environment --development with the included guix.scm to provision a dev environment. To check whether your current git working tree will build in an isolated environment, use guix build --file=guix.scm. This will only consider files which are tracked in git, so add any new files to your index first. To build & run from source for testing, use guix shell --file=guix.scm -- xc [args]. Once you push your git branch to a remote, other people can try your version of xc using guix shell --with-git-url=xc=https://github.com/your-username/xc --with-branch=xc=your-branch xc -- xc [args]
what do you think, add something like that to the docs, take a different approach, or skip?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds
guix.scm, providing a package forxcwhich uses the local source files in the git working tree instead of building from the last tagged release.Outcomes for Guix users
Guix users working on xc will benefit in a variety of cases:
guix shell --developmentguix build --file=guix.scmguix shell --container --file=guix.scm -- xcNo documentation changes
This shouldn't have any impact on non-Guix users, and there's no documentation for Nix users presently, so I decided not to add any for this. If you would welcome it, I can write a paragraph in the README about using Guix for development.
Guix upstream
Upstream Guix accepted my patch to include the package for xc and its dependencies, which means we can ship a lean
guix.scm.