Skip to content
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

sequoia: init at 0.9.0 #65475

Closed
wants to merge 1 commit into from
Closed

Conversation

doronbehar
Copy link
Contributor

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

pkgs/tools/security/sequoia/default.nix Outdated Show resolved Hide resolved
pkgs/tools/security/sequoia/default.nix Outdated Show resolved Hide resolved
pkgs/tools/security/sequoia/default.nix Outdated Show resolved Hide resolved
pkgs/top-level/python-packages.nix Outdated Show resolved Hide resolved
@worldofpeace
Copy link
Contributor

This is already packaged as the tool https://github.com/NixOS/nixpkgs/blob/872b55a8c1c7fa110f26d5f29a8dc45f43bb267d/pkgs/tools/security/sequoia-tool/default.nix.

Perhaps you can upstream any improvements you can to that expression.

@doronbehar
Copy link
Contributor Author

Too bad I missed that.. Proposing changes now seems more complicated. @worldofpeace , perhaps you could help me with some of the concerns I'm having?

It seems that he was concerned with having only the sq tool installed and not the rest of the package - he didn't use make install as the installPhase. This means it doesn't include all of the ffi libraries and the zsh and bash completion which are added to the appropriate paths thanks to upstream's Makefile.

I honestly think my expression is much superior. Additionally, I don't see a reason to use the -tool suffix at all.. I can open a new PR to make that expression similar to mine but I also wish to change the name, both the pname and at pkgs/top-level/all-packages.nix. Would that confuse anyone? Perhaps it'll be enough just to @mention him and so he could share his opinion on the matter?

@worldofpeace
Copy link
Contributor

Too bad I missed that.. Proposing changes now seems more complicated. @worldofpeace , perhaps you could help me with some of the concerns I'm having?

It seems that he was concerned with having only the sq tool installed and not the rest of the package - he didn't use make install as the installPhase. This means it doesn't include all of the ffi libraries and the zsh and bash completion which are added to the appropriate paths thanks to upstream's Makefile.

I honestly think my expression is much superior. Additionally, I don't see a reason to use the -tool suffix at all.. I can open a new PR to make that expression similar to mine but I also wish to change the name, both the pname and at pkgs/top-level/all-packages.nix. Would that confuse anyone? Perhaps it'll be enough just to @mention him and so he could share his opinion on the matter?

All these changes would be acceptable. As long as you ping them @minijackson since they're the maintainer.

@FRidh
Copy link
Member

FRidh commented Jul 31, 2019

This is a frontend, so just sequoia is probably too generic. If it really makes sense, rename it, otherwise, avoid renaming.

@doronbehar doronbehar mentioned this pull request Aug 1, 2019
10 tasks
@doronbehar
Copy link
Contributor Author

This is a frontend, so just sequoia is probably too generic. If it really makes sense, rename it, otherwise, avoid renaming.

@FRidh the package certainly provides a command line frontend and libraries to use with Python and C (ffi). IMHO, a division between the two wouldn't make sense by naming them differently but it'll better handled on an outputs level. Do you think it'll be wise to add outputs = [ "bin" "dev" ] or something alike? According to my pour experience in packaging for Nix, this is usually meant for packages which are very large in size. As this is not the case, I tend to think it'll be better to leave it as is - one output.

@doronbehar doronbehar deleted the package-sequoia branch August 22, 2019 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants