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

Backport perl: add .withPackages #59215 #60028 #60037

Merged
merged 5 commits into from Apr 22, 2019

Conversation

samueldr
Copy link
Member

Backports #59215 and #60028 to 19.03

Undraft and merge only once #60028 has been validated and merged, please.

The initial commit (perl: add .withPackages) had two conflicts. The first one is a possibly missing perl update to stable (?) and the second one was with the signature where I think a cross-compilation change changed it (trivial to fix).

cc @volth

volth and others added 4 commits April 22, 2019 15:42
(cherry picked from commit 03eaa48)
(cherry picked from commit d23ff47)
give priority to perl libraries when they meet the perl derivation in `buildEnv`.

The notable case is `buildEnv` inside `perl.withPackages`.

The `perl' derivation includes obsolete versions of some CPAN packages
which leads to collissions when there are newer versions
of the same libraries are on the right hand side
of `perl.withPackages` (perhaps indirectly).

Fixes NixOS#60025

(cherry picked from commit 0fad0b4)
@samueldr samueldr requested a review from aanderse April 22, 2019 19:54
@aanderse aanderse marked this pull request as ready for review April 22, 2019 21:17
Copy link
Member

@aanderse aanderse left a comment

Choose a reason for hiding this comment

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

After adding the missing self = perldevel; reference @volth mentioned, building my system against this branch, and then testing a few select perl scripts against an environment.systemPackages = [ perl.withPackages... ]; (both perl and perldevel), I feel pretty good that this is working as expected without any obvious regressions.

@aanderse
Copy link
Member

@samueldr I'm leaving final approval and merging to you for this change.

@samueldr samueldr merged commit 19cb786 into NixOS:release-19.03 Apr 22, 2019
@samueldr samueldr deleted the backport/nixpkgs-59215 branch April 22, 2019 23:42
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