-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
snander: init at 1.7.8 #401003
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
base: master
Are you sure you want to change the base?
snander: init at 1.7.8 #401003
Conversation
illdefined
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a few recommendations for changes.
You could also consider providing an update script. Something like passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; might just work, but I remember that nix-update had difficulties with unstable Git versions in the past.
I added the update script. Is there a way to test it? |
you can run |
The author of this project uses
|
I believe you need to escape the |
Oh duh... I'm not super familiar with regex but obviously the '.' character is special in regex. I was able to get it to work and I've pushed an updated commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should just have snander: init at 1.7.8 and snander: init at 1.7.8 as your only commits (an interactive rebase is probably the best way to get there)
Whew ok I think I got it. Thanks for your patience... This is one of my first times working on a repo that isn't just me. |
0xda157
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise LGTM
pkgs/by-name/sn/snander/package.nix
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you use double quotes, you’ll have to escape the backslash character with another one. As this quickly becomes unreadable, I suggest to use double single quotes instead for this kind of regex.
| "^v\.(\d+\.\d+\.\d+)$" | |
| ''^v\.(\d+\.\d+\.\d+)$'' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I amended my personal fork's commit and force pushed it. The change is reflected in my personal repo, but the change didn't seem to propagate to this PR. Any suggestions?
snander: init at 1.7.8 Fix formatting; use finalAttrs instead of rec
|
https://github.com/Droid-MAX/SNANDer
C program for reading and flashing flash chips using CH341A programmers.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.