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

Add a this_architecture() API, drop nix dependency #34

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

cgwalters
Copy link
Member

Motivated by wanting similar code that I was going to add to zincati https://github.com/coreos/zincati/pull/876/files#diff-e21568cc43324fc7c1b72a7f5e92260a33ff8e7a39a9166823db9976be98649bR192

But, mirroring the stream-metadata-go change, let's add the API here.

Notably, this lets us also drop the nix dependency, which is valuable because nix keeps bumping semver and it's a nontrivial expensive dependency.

Motivated by wanting similar code that I was going to add to zincati
https://github.com/coreos/zincati/pull/876/files#diff-e21568cc43324fc7c1b72a7f5e92260a33ff8e7a39a9166823db9976be98649bR192

But, mirroring the stream-metadata-go change, let's add the API here.

Notably, this lets us also drop the nix dependency, which is
valuable because nix keeps bumping semver and it's a nontrivial
expensive dependency.
Copy link
Contributor

@bgilbert bgilbert left a comment

Choose a reason for hiding this comment

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

Nice! I've been wanting to get rid of nix here.

@cgwalters cgwalters merged commit 5830e92 into coreos:main Nov 2, 2022
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