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

guix: update documentation #9713

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hinto-janai
Copy link
Contributor

Updates documentation in contrib/guix/README.md.

Copy link
Contributor Author

@hinto-janai hinto-janai left a comment

Choose a reason for hiding this comment

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

Comment on lines -174 to +176
_(defaults to "x86\_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu
riscv64-linux-gnu powerpc64-linux-gnu powerpc64le-linux-gnu
x86\_64-w64-mingw32 x86\_64-apple-darwin arm64-apple-darwin")_
_(defaults to "x86\_64-linux-gnu aarch64-linux-gnu arm-linux-gnueabihf
riscv64-linux-gnu i686-linux-gnu x86\_64-w64-mingw32 x86\_64-unknown-freebsd
x86\_64-apple-darwin aarch64-apple-darwin aarch64-linux-android")_
Copy link
Contributor Author

Choose a reason for hiding this comment

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

export HOSTS="${HOSTS:-x86_64-linux-gnu
aarch64-linux-gnu
arm-linux-gnueabihf
riscv64-linux-gnu
i686-linux-gnu
x86_64-w64-mingw32
x86_64-unknown-freebsd
x86_64-apple-darwin
aarch64-apple-darwin
aarch64-linux-android}"

Are these the correct default targets?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yep, nice catch.

_(defaults to the output of `$(git log --format=%at -1)`)_
_(defaults to the output of `git -c log.showSignature=false log --format=%at -1`)_
Copy link
Contributor Author

Choose a reason for hiding this comment

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

COMMIT_TIMESTAMP="$(git -c log.showSignature=false log --format=%at -1)"

export SOURCE_DATE_EPOCH=${COMMIT_TIMESTAMP}

nit for grep.

@hinto-janai hinto-janai marked this pull request as ready for review January 16, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants