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
slither: init at 0.3.0 #50957
slither: init at 0.3.0 #50957
Conversation
93b2522
to
28c7ef1
Compare
Not sure what's wrong with the test. @FRidh is the PR 👍 for you now? |
I'm seeing Also looks like it might want |
@worldofpeace how would you do this? I don't see a |
@worldofpeace added Alternatively, I could use |
Is this ready to be merged? |
This issue still stands
I'm not familiar with this software, so I'm not sure if this is appropriate, but this can be achieved with: nativeBuildInputs = [ makeWrapper ];
postFixup = ''
wrapProgram $out/bin/slither \
--prefix PATH : "${stdenv.lib.makeBinPath [ solc ]}"
''; |
@worldofpeace good catch, I had missed that comment. Why is |
It's well commented here Line 163 in 475d653
|
Yeah, but because the implementation is so simple, I'm not sure what the benefit is of hiding it behind a function :) Anyway, this is probably OT. |
This program has no python tests so can you add?
Also since we're going with calling this |
Does it make sense? If they're added later on, we need to remember to set |
I'm not sure what you mean. |
I mean that if tests are added in a future release, someone has to notice and remember to remove Leaving |
I would hope that our reviewers would be astute to catch that. |
I respectfully disagree. I don't see the benefit of disabling the tests when there are none, as it brings virtually no benefits while exposing the package (and nixpkgs) to unnecessary risk. But if you feel strongly about it, I'll add it. I am just not convinced it's a good idea. |
I don't feel particularly strong about it, but just for consistency with other packages like this we'll need to disable them. @FRidh Any comments you could contribute to this would be interesting since I've seen you instruct people to do this. |
Merged in 6283971 |
Motivation for this change
Adds slither, which has both a library and a CLI component.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)