Skip to content

perlPackages.NetPatricia and perlPackages.NetCIDRLite (new) #25908

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

Closed
wants to merge 1 commit into from

Conversation

lukego
Copy link
Contributor

@lukego lukego commented May 19, 2017

Motivation for this change

Add Net::Patricia perl module from CPAN, and also its dependency Net::CIDR::Lite.

This does not seem to actually work though. I install the Net::Patricia library but I only see the Net::CIDR::Lite library available. Anybody know what is wrong? (I have no perl background, doing this as a dependency for another project.)

$ nix-env -f ~/git/nixpkgs -i perl-Net-Patricia
installing ‘perl-Net-Patricia-1.22’

$ find -H ~/.nix-profile/lib/perl5/site_perl/5.24.1/Net
/home/luke/.nix-profile/lib/perl5/site_perl/5.24.1/Net
/home/luke/.nix-profile/lib/perl5/site_perl/5.24.1/Net/CIDR
/home/luke/.nix-profile/lib/perl5/site_perl/5.24.1/Net/CIDR/Lite.pm
Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
ijjk JJ Kasper
@rycee
Copy link
Member

rycee commented May 19, 2017

Works OK for me:

rycee@beta:~/devel/nixpkgs$ nix-env -f . -iA perlPackages.NetPatricia
installing ‘perl-Net-Patricia-1.22’
rycee@beta:~/devel/nixpkgs$ find -L /home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/Net
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/Net/CIDR
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/Net/CIDR/Lite.pm
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/Net
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/Net/Patricia.pm
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Net
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Net/Patricia
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Net/Patricia/.packlist
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Net/Patricia/Patricia.so
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Net/CIDR
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Net/CIDR/Lite
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Net/CIDR/Lite/.packlist
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Socket6
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Socket6/.packlist
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/auto/Socket6/Socket6.so
/home/rycee/.nix-profile/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/Socket6.pm

@rycee
Copy link
Member

rycee commented May 19, 2017

Rebased into master in 31e32f2. Unfortunately I did not pay enough attention to the commit message. Sorry about that! Please use the "init at" format in the future.

@rycee rycee closed this May 19, 2017
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.

None yet

2 participants