Skip to content

A language security tool called Hammer is added#4714

Merged
domenkozar merged 6 commits intoNixOS:masterfrom
sjmackenzie:new-pkg-hammer
Oct 29, 2014
Merged

A language security tool called Hammer is added#4714
domenkozar merged 6 commits intoNixOS:masterfrom
sjmackenzie:new-pkg-hammer

Conversation

@sjmackenzie
Copy link
Contributor

A patch needs to land on Hammer to make this compile, so in a few hours Travis will pass.

@sjmackenzie
Copy link
Contributor Author

See #4694 for more details.

@sjmackenzie
Copy link
Contributor Author

Patch has landed (UpstandingHackers/hammer#107), please kickstart Travis to recompile the PR.

@abiggerhammer
Copy link

That patch has landed. Thanks @sjmackenzie!

EDIT: derp, you already said that :) Still, thanks!

@sjmackenzie
Copy link
Contributor Author

No thank you @abiggerhammer!

@abiggerhammer
Copy link

-git-export' should have r:sha256 hash 1ay790qi127crxncgsdi4qvai1s0ckq0yzzk19b1zvdlws4rvw93', instead has 1v8f2a6bgjgdkhbqz751bqjlwb9lmqn5x63xcskwcl2b9n36vqi9' cannot build derivation /nix/store/rgwxhv5p7x0zs5yjy8c364fpfj0i1ybc-hammer-1.0.0-rc3.drv': 1 dependencies couldn't be built`

The PR would change the hash, wouldn't it. facepalm

@sjmackenzie
Copy link
Contributor Author

facepalmed

@sjmackenzie
Copy link
Contributor Author

@Fuuzetsu or @iElectric please could you review the patch and merge if happy.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description is one line long, for longer descriptions use longDescription meta field

@sjmackenzie
Copy link
Contributor Author

okay @iElectric please review

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sjmackenzie
Copy link
Contributor Author

Not possible, as there was a patch to Hammer allowing it to correctly build on NixOS. That patch doesn't seem to be part of release v1.0.0-rc3.

@domenkozar
Copy link
Member

That gives us two options:

  1. download 1.0.0-rc3 release and apply the patch separately
  2. change version of hammer to e7aa734

@sjmackenzie
Copy link
Contributor Author

Hmm okay, never done a patch apply before. I'll need a bit of time to figure it out. We shouldn't require a Hammer version bump. That's up to Hammer's community to advance at their own rate.

@domenkozar
Copy link
Member

Easier route is to change version = "e7aa734";

If you're going to apply a patch, make sure you copy it into nixpkgs hammer directory. Grep around for patches =

@sjmackenzie
Copy link
Contributor Author

Okay I read too deeply into that, the old ways were surfacing...

@sjmackenzie
Copy link
Contributor Author

All done.

domenkozar added a commit that referenced this pull request Oct 29, 2014
A language security tool called Hammer is added
@domenkozar domenkozar merged commit 69aee03 into NixOS:master Oct 29, 2014
@sjmackenzie sjmackenzie deleted the new-pkg-hammer branch October 29, 2014 09:01
@sjmackenzie
Copy link
Contributor Author

Thanks!

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.

3 participants