-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Update vim_configurable to vim 8.0005 #18801
Update vim_configurable to vim 8.0005 #18801
Conversation
@winksaville, thanks for your PR! By analyzing the annotation information on this pull request, we identified @kamilchm, @hrdinka and @MarcWeber to be potential reviewers |
Can't we just use the |
I was wondering the same thing, this should probably use the vim drv as a starting point. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using vim.src
is probably not worth the effort since vim needs refactoring anyway ( #18763 )
I was wondering if vim should just be derived from vim_configurable as On Wed, Sep 21, 2016, 5:55 AM Alexander Ried notifications@github.com
|
This breaks the darwin build, the python patch does not apply. |
@LnL7, when you say "the python patch doesn't apply", what python patch? How can I reproduce the problem? (Note: I'm a newbie so pardon my ignorance). |
@winksaville You can remove the |
@LnL7 are you saying we never want to apply the patch or we always want to apply the patch? Also, note the odd logic in line 75 with the 'or true': I currently don't have a darwin environment setup so I'm unable to test. |
@winksaville I suspect the |
@winksaville the
@LnL7 was suggesting you remove the Another option would be to get the source manually and apply the patch. Or with help of nix:
This will most probably fail and you can inspect further. Interestingly the patch did not apply for me with the old vim version either... |
@groxxda, but doen't @LnL7, python can support python as an interpreter although I've never used it, see here and here for instance. So I'm guessing if you install vim using nix is that vim should use nix's version of python not some random version installed on the platform. But as I said, I'm just guessing. |
@winksaville i admit this is not intuitive because the
while the logic
The proposal was only to remove it to test the patch locally and fix the patch. Of cource you should not commit the removed |
@groxxda, I think I understand @LnL7 please test and let me know if you'd like me to do anything else or if it needs a more sophisticated change I can certainly close this pull request and a proper one can be supplied. |
@winksaville The patch is no longer needed for this version as far as I can tell, you can just remove the |
OK On Thu, Sep 22, 2016, 12:20 PM Daiderd Jordan notifications@github.com
|
In the [discussion](NixOS#18801) of this pull request @LnL7 was unable to complete a darwin build because the python_framework.patch does not apply and suggests it should be removed.
@LnL7 I've updated the pull request to remove python_framework.patch. If a user 'manually' changed |
While you indeed can override the version, this is not something we account for in nixpkgs. |
In the [discussion](NixOS#18801) of this pull request @LnL7 was unable to complete a darwin build because the python_framework.patch does not apply and suggests it should be removed.
In the [discussion](NixOS#18801) of this pull request @LnL7 was unable to complete a darwin build because the python_framework.patch does not apply and suggests it should be removed. (cherry picked from commit d81a6e6)
Motivation for this change
fix #18800
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)