-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
tmux-fingers: 2.1.1 -> 2.2.2 #336863
base: master
Are you sure you want to change the base?
tmux-fingers: 2.1.1 -> 2.2.2 #336863
Conversation
4633f78
to
b6e94c3
Compare
The binary output LGTM! |
Also in the previous PR the reviewer suggested that tests and source code can be removed. |
b6e94c3
to
445d051
Compare
Thanks, done |
doCheck = false; | ||
doInstallCheck = false; |
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.
Maybe add a comment why tests won't work.
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.
Thanks, I'm getting the following error with doCheck:
@nix { "action": "setPhase", "phase": "checkPhase" }
Unhandled exception: Missing ENV key: "TMUX" (KeyError)
from /nix/store/1cjf5grfqsjbjvqadsdf8l1nhinj474s-crystal-1.11.2-lib/crystal/env.cr:57:7 in 'fetch'
from /nix/store/1cjf5grfqsjbjvqadsdf8l1nhinj474s-crystal-1.11.2-lib/crystal/env.cr:22:5 in '[]'
from src/fingers/dirs.cr:5:15 in '~Fingers::Dirs::TMUX_PID:init'
from src/fingers/dirs.cr:6:3 in '__crystal_main'
from /nix/store/1cjf5grfqsjbjvqadsdf8l1nhinj474s-crystal-1.11.2-lib/crystal/crystal/main.cr:129:5 in 'main_user_code'
from /nix/store/1cjf5grfqsjbjvqadsdf8l1nhinj474s-crystal-1.11.2-lib/crystal/crystal/main.cr:115:7 in 'main'
from /nix/store/1cjf5grfqsjbjvqadsdf8l1nhinj474s-crystal-1.11.2-lib/crystal/crystal/main.cr:141:3 in 'main'
from /nix/store/wlffq5p6mxxgfap10sav3ij936jzqm59-glibc-2.39-52/lib/libc.so.6 in '??'
from /nix/store/wlffq5p6mxxgfap10sav3ij936jzqm59-glibc-2.39-52/lib/libc.so.6 in '__libc_start_main'
from /build/source/.crystal/crystal-run-spec.tmp in '_start'
from ???
445d051
to
892012a
Compare
892012a
to
09abf10
Compare
09abf10
to
c9c7974
Compare
Description of changes
First time writing a Crystal derivation, let me know any changes or improvements I should do!
Friendly ping: @Mic92 @WilliamHsieh
tmux-fingers/CHANGELOG.md at master · Morantron/tmux-fingers
From use cling shard to handle arg parsing · Morantron/tmux-fingers@97d1ddd,
tmux-fingers
need shards to build.Things done
crystal2nix
to generateshards.nix
fingers
binaryI mostly copied the build pattern from nixpkgs/pkgs/misc/tmux-plugins/tmux-thumbs/default.nix at master · NixOS/nixpkgs
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-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.