-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
svaba: init at 1.1.0 #72326
svaba: init at 1.1.0 #72326
Conversation
Thanks for your feedback @vyp !! I made a mistake while squashing, so had to recreate the PR. Hope everything is fine now :-) You commented that I had forgotten to reuse |
|
||
src = fetchFromGitHub { | ||
owner = "walaj"; | ||
repo = "${pname}"; |
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.
repo = "${pname}"; | |
repo = "pname; |
src = fetchFromGitHub { | ||
owner = "walaj"; | ||
repo = "${pname}"; | ||
rev = "${version}"; |
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.
rev = "${version}"; | |
rev = version; |
description = "Structural variant and INDEL caller for DNA sequencing data, using genome-wide local assembly"; | ||
license = licenses.gpl3; | ||
maintainers = with maintainers; [ scalavision ]; | ||
platforms = platforms.linux; |
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.
add the github repo as a home page, please
installPhase = '' | ||
runHook preInstall | ||
install -Dm555 src/svaba/svaba $out/bin/svaba | ||
runHook postInstal |
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.
runHook postInstal | |
runHook postInstall |
c4ac889
to
9d70100
Compare
sorry for my silly mistakes! I've think I've fixed everything now @jonringer , @vyp Thanks again for helping out :-) |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/explicit-runhook-in-derivation/4614/10 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/explicit-runhook-in-derivation/4614/14 |
Regarding the discussions on nixos-discourse. I've added those hooks based upon feedback on this PR. I have not enough insight into nix package internals, so I'll do whatever is suggested. |
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.
tested with nix-review
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @ vyp