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

command-not-found.pl: don't rely on Config.pm anymore #17715

Closed

Conversation

domenkozar
Copy link
Member

As part of NixOS/nix#341, don't rely on perl Nix modules for command-not-found.

cc @edolstra

@mention-bot
Copy link

@domenkozar, thanks for your PR! By analyzing the annotation information on this pull request, we identified @edolstra and @nathan7 to be potential reviewers

@domenkozar
Copy link
Member Author

Hmm, this doesn't really work.

@domenkozar domenkozar force-pushed the command-not-found-perl-removal branch from 1fa6114 to 5638a43 Compare August 13, 2016 16:00
@domenkozar
Copy link
Member Author

Fixed!

@domenkozar
Copy link
Member Author

Wait, this is not Nix.Config?

@domenkozar
Copy link
Member Author

I see now, Perl uses same arch syntax as we do:

$ perl -e 'use Config; print $Config{myarchname}'
x86_64-linux

@domenkozar domenkozar closed this Aug 14, 2016
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.

2 participants