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 flake.nix #156

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

Add flake.nix #156

wants to merge 1 commit into from

Conversation

mausch
Copy link

@mausch mausch commented Jan 21, 2024

Thanks for this script, I've been using it for quite some time!

This PR packages the script and its dependencies with Nix

Some advantages of this over Docker:

  • No additional build step, just go nix run ... and it will download things and run
  • No issues with permissions. It just runs as the current user.
  • Always up to date (unless there's an upgrade in a dependency, then this might need reviewing)
  • People can pin a specific commit e.g. nix run github:JelmerT/cc2538-bsl/208cf7a79c6443d3f1c218d8fee1d18096165664 (of course this only works from the moment this file is in the repo)

@mausch mausch force-pushed the master branch 2 times, most recently from 7c08603 to 852371c Compare November 9, 2024 12:31
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.

1 participant