Commit graph

235 commits

Author SHA1 Message Date
Klemens Nanni e0f258f596
neovim: Do $PATH lookup in neovim.desktop instead of hardcoding derivation
See db236e588d "steam: Do $PATH lookup in steam.desktop [...]".
tl;dr: Otherwise widget/panel/desktop icons in DEs like KDE break.

Simply stop adding the full derivation path for neovim and stick with
how upstream uses no path at all.

While here, take care of gnvim.desktop as well by adjusting the sed(1)
expression (and simplifying it in one go);  I do not use gnvim.desktop
but built it and confirmed the resulting files to contain no full paths
any longer.
2020-11-05 11:41:53 +01:00
Matthieu Coudron 86d7ed8d10 neovim: take into account vi(m)Alias
restore feature broken by compatibility layer
2020-11-03 09:31:56 +01:00
Matthieu Coudron 42cc40ddc8 neovim: fix nodejs and ruby generation
These were not translated correctly in the new wrapper.
2020-11-02 23:27:49 +01:00
Matthieu Coudron 295948f40f neovim: dont wrap when is null
restore previous behavior
2020-11-01 18:55:57 +01:00
Matthieu Coudron 95702fe6d2 neovim: revert change to extraMakeWrapperArgs
wrapNeovim incited users to use a list instead of a string. Revert that:
the change is not super useful while breaking home-manager.
2020-10-31 14:32:02 +01:00
Matthieu Coudron 2eb1610725
neovimUtils: neovim utilities to handle more usecases
Current nixpkgs always wraps neovim with the "-u" which has sideeffects as explained in https://github.com/NixOS/nixpkgs/issues/55376 : 
1.  vim won't set the variable $MYVIMRC as explained #34215
 2. vim skips loading folder-specific .vimrc / .nvimrc

I wanted to provide a way for users to better control what flags are used to wrap neovim. This is achived by introducing wrapNeovimUnstable et neovimUtils, utilities to help with that. We provide a compatibility layer so that wrapNeovim still works and to let us experiment with wrapNeovimUnstable to better control neovim configuration, plugin dependencies, haskell environment etc so that it becomes easier to generate per-project neovim config.

With this commit, it's possible for instance for home-manager to wrap neovim without the `-u` and just write the config in the
expected $XDG_CONFIG_HOME/nvim/init.vim .
Expect wrapNeovimUnstable interface to evolve in the upcoming months.
2020-10-29 09:50:26 +01:00
Matthieu Coudron 4c4c4874c4
neovim: add config to passthru (#101100)
first will register the config under the name init.vim which is more
appropriate for neovim.
Pass the generated config to passthru so that one can easily pass the
current config to a
raw/unwrapped neovim (helps with development).

For instance, home-manager can reference the config in $XDG_CONFIG_HOME/nvim/init.vim
without the need to wrap nvim with its config.
2020-10-20 12:26:39 +02:00
Viacheslav Lotsmanov 897d92c854 neovim-qt: 0.2.15 -> 0.2.16.1 2020-10-03 19:12:57 +02:00
Kevin Cox 599089ed1d
neovim-qt: Add homepage 2020-08-31 07:19:40 -04:00
Sirio Balmelli 0f1434cb2a
neovim: fix build on Darwin
libluv path passed to -DLIBLUV_LIBRARY broken by change in libluv, eg:
libluv.dylib -> libluv.1.30.0.dylib

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2020-08-14 23:29:31 +02:00
Konstantin Alekseev f9a5d8539d neovim: fix node neovim binary link 2020-08-12 13:59:02 -07:00
Maximilian Bosch 71ca3bf31d
Merge pull request #94705 from yoctocell/neovim-0.4.4
neovim: 0.4.3 -> 0.4.4
2020-08-05 22:20:03 +02:00
yoctocell 7f137849e8 neovim: 0.4.3 -> 0.4.4 2020-08-05 10:22:53 +02:00
Doron Behar c63b5c4c36 wrapNeovim: fix darwin build 2020-08-04 09:14:09 +03:00
Doron Behar 85f6da6eed wrapNeovim: Rewrite
Cleanups:
- Removed unneeded neovim.meta.description reset.
- Remove unnecessary -x checks in `postBuild`.
- Use a ${placeholder "out"} if needed.

Changes:
- Switch to symlinkJoin, so e.g manpages link to the environment (#87929).
- Use nvim-node from $out/bin/ just like all other providers.
- Compute all arguments to makeWrapper in pure Nix "before" `postBuild`.
- Prevent double wrapping in case `configure != {}` and rplugin.vim
  needs to be generated.

Co-authored-by: Silvan Mosberger <contact@infinisil.com>
2020-07-31 20:39:12 +03:00
Minijackson 1e02256cac
gnvim: 0.1.5 -> 0.1.6 2020-07-08 23:03:42 +02:00
Frederik Rietdijk d0532e79ae Merge staging-next into staging 2020-06-07 09:25:46 +02:00
Matthieu Coudron b4c7a0b762 neovim-unwrapped: improve testing ability
Make functionaltests more complete.
2020-06-06 20:21:17 +02:00
Maximilian Bosch 068beb2c07
gnvim: fix build
When running the default builder for Rust, the artifacts would be stored
in `target/<arch>/<profile>`, however the `install`-target expects the
default structure (`target/<profile>`) of `cargo`-builds.

When using the Makefile for building as well, the expected structure is
created instead.
2020-05-13 22:19:47 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Michael Fellinger f92600b406
update versions in Gemfile.lock 2020-04-06 15:02:13 +02:00
Ersin Akinci 588ca6e310
neovim: use TMPDIR as home during initilizaiton 2020-03-15 12:55:06 +00:00
Benjamin Hipple fa353a0f0a
gnvim: upgrade cargo fetcher and cargoSha256 (#82015) 2020-03-08 19:19:41 -04:00
Benjamin Hipple eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
Doron Behar d4169851a5 neovim-remote: add now needed setuptools as input 2020-02-13 13:20:29 -08:00
Peter Hoeg 6ac6bf2927
Merge pull request #73854 from Dema/neovim-qt-version-bump
neovim-qt: 0.2.12 -> 0.2.15
2020-01-13 09:07:58 +08:00
Maximilian Bosch 5f6df74f66
Merge pull request #77166 from r-ryantm/auto-update/neovim-remote
neovim-remote: 2.2.3 -> 2.4.0
2020-01-07 23:39:17 +01:00
Wael M. Nasreddine 7909787a7d Revert "vimPlugins: turn filetype and syntax before sourcing the plugins (#66536)"
This reverts commit a3bf0c2e40.
2020-01-07 13:13:41 -08:00
R. RyanTM 42a0d7f315 neovim-remote: 2.2.3 -> 2.4.0 2020-01-06 19:10:52 -08:00
Maximilian Bosch 9842c4b107
treewide: update which packages I'm currently maintaining
Idea shamelessly stolen from 4e60b0efae.

I realized that I don't really know anymore where I'm listed as maintainer and what
I'm actually (co)-maintaining which means that I can't proactively take
care of packages I officially maintain.

As I don't have the time, energy and motivation to take care of stuff I
was interested in 1 or 2 years ago (or packaged for someone else in the
past), I decided that I make this explicit by removing myself from several
packages and adding myself in some other stuff I'm now interested in.

I've seen it several times now that people remove themselves from a
package without removing the package if it's unmaintained after that
which is why I figured that it's fine in my case as the affected pkgs
are rather low-prio and were pretty easy to maintain.
2019-12-26 15:27:47 +01:00
Manuel Mendez b840977407 neovim: Drop jemalloc
See https://github.com/neovim/neovim/pull/9526.
2019-12-25 23:49:21 +01:00
R. RyanTM 8413dbee82 neovim-remote: 2.2.2 -> 2.2.3 2019-12-01 18:42:33 +01:00
Matthias Beyer 44465d3480 neovim: 0.4.2 -> 0.4.3
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-23 19:24:49 +01:00
Dmitry Olyenyov e40adc8788 neovim-qt: 0.2.12 -> 0.2.15 2019-11-21 11:45:00 +03:00
R. RyanTM 1550417b51 neovim-remote: 2.2.1 -> 2.2.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/neovim-remote/versions
2019-10-22 19:00:29 -07:00
Shreyansh Khajanchi 7885eeaffd neovim-qt: fix icons 2019-10-17 14:11:41 +09:00
Shreyansh Khajanchi 3388941c59 neovim: fix icon not displaying 2019-10-17 11:34:40 +09:00
Matthieu Coudron 81487f73eb
Merge pull request #70215 from LnL7/darwin-lua-libluv
neovim: fix darwin build
2019-10-04 13:05:32 +09:00
Minijackson 4e7364abab gnvim: init at 0.1.5 2019-10-02 14:08:40 +09:00
Daiderd Jordan c819648a68 neovim: link against libluv on darwin 2019-10-02 00:30:42 +02:00
Matthieu Coudron 60f3c94965
Merge pull request #68882 from rvolosatovs/update/neovim
Neovim: 0.3.8 -> 0.4.2
2019-09-23 22:15:01 +09:00
Doron Behar c5f3851909 neovim-remote: 2.2.0 -> 2.2.1 2019-09-21 01:23:01 +09:00
Roman Volosatovs 824869c3fc
neovim: 0.3.8 -> 0.4.2 2019-09-16 22:00:43 +02:00
Craig Hall 6bdaca51e8
neovim: sort lists alphabetically 2019-09-16 16:10:13 +02:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Doron Behar a111f95401 neovim-remote: 2.1.9 -> 2.2.0 2019-08-20 17:15:08 +09:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Wael Nasreddine a3bf0c2e40
vimPlugins: turn filetype and syntax before sourcing the plugins (#66536)
Vim Terraform expects the `filetypedetect` group to exist. However, since we were enabling the filetype and the syntax *after* loading the plugins, it was exiting with an error preventing us from generating the remote plugins manifest with the plugin enabled. See #65894 for context.
2019-08-13 12:25:06 -07:00
Peter Hoeg 0b9b95d5b1 neovim-qt: 0.2.11 -> 0.2.12 2019-08-05 14:42:37 +09:00
R. RyanTM f1f66e2296 neovim-remote: 2.1.7 -> 2.1.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/neovim-remote/versions
2019-07-19 15:54:05 -07:00
Roman Volosatovs c7a4a0c852 neovim: 0.3.7 -> 0.3.8 2019-07-07 10:22:59 +02:00
Rok Garbas 65781e204d
Remove me (garbas) as maintainer since I don't have much time to maintain anything 2019-07-03 11:27:39 +02:00
R. RyanTM f11a3e6685 neovim-unwrapped: 0.3.5 -> 0.3.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/neovim-unwrapped/versions
2019-06-02 20:35:36 +09:00
Matthieu Coudron 66a1e97719 neovim-unwrapped: don't fix cmake
Pollutes git status
2019-05-31 17:07:09 +09:00
Jonas Holst Damtoft dbb27af6c6 neovim: Allow passing extra makeWrapperArgs 2019-05-29 18:15:15 +09:00
Gabriel Ebner b8a6775227 neovim: use lua on aarch64 2019-05-16 12:37:15 +02:00
R. RyanTM ac843c34bb neovim-unwrapped: 0.3.4 -> 0.3.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/neovim-unwrapped/versions
2019-05-01 06:38:34 -07:00
R. RyanTM 632ff800d1 neovim-remote: 2.1.5 -> 2.1.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/neovim-remote/versions
2019-04-16 18:47:21 +02:00
R. RyanTM 8c9566ec84 neovim-remote: 2.1.4 -> 2.1.5 (#57330)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/neovim-remote/versions
2019-04-01 23:02:39 +02:00
Artemis Tosini 77cf0b05bf neovim: Update ruby provider to 0.8.0 (#56316) 2019-02-25 16:34:35 +01:00
Jörg Thalheim 25bab3958d
Merge pull request #54717 from Mic92/nvr
neovim-remote: use buildPythonApplication
2019-02-10 09:02:52 +00:00
Matthieu Coudron aaeaa6d1c6 Add checkPhase for neovim (disabled by default) (#55266)
* neovim-unwrapped: now use lua environments

* mpv: use lua environments

* luaPackages.inspect: init at 3.1.1-0

* luaPackages.lgi: mark as a lua module

* luaPackages.vicious: mark as a lua module
2019-02-05 15:00:19 +00:00
Jörg Thalheim e2d44a6ec7
neovim-remote: use buildPythonApplication 2019-01-27 18:35:44 +00:00
Silvan Mosberger f3e03ff438
Merge pull request #54591 from symphorien/nvim-refs
neovim: remove spurious references to compilation flags
2019-01-26 00:03:57 +01:00
Symphorien Gibol b9a9f28dad neovim: remove spurious references to compilation flags 2019-01-25 22:20:12 +01:00
Timo Kaufmann ab22e8cc9c neovim: generate remote plugin manifest
This makes sure the user doesn't have to call `UpdateRemotePlugins`
manually for plugins installed through nix. A minor patch to neovim is
necessary, but it should be harmless. See
https://github.com/neovim/neovim/issues/9413 for a discussion about
the patch.
2019-01-18 21:18:32 +01:00
Timo Kaufmann 51c4768f67 neovim: fix indentation 2019-01-18 21:15:17 +01:00
Jörg Thalheim 478188d41c
Merge pull request #54092 from r-ryantm/auto-update/python3.7-neovim-remote
neovim-remote: 2.1.3 -> 2.1.4
2019-01-17 09:47:52 +00:00
R. RyanTM db44656467 neovim-unwrapped: 0.3.3 -> 0.3.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/neovim-unwrapped/versions
2019-01-17 00:13:16 -08:00
R. RyanTM db5ee28843 neovim-remote: 2.1.3 -> 2.1.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-neovim-remote/versions
2019-01-16 11:38:19 -08:00
Timo Kaufmann 0d028c3bee
neovim-qt: add desktop file to wrapper (#53777)
My recent change in #53447 caused neovim-qt to no longer be recognized
as a desktop application.
2019-01-10 22:18:04 +01:00
Peter Hoeg 15c8362c14
Merge pull request #53447 from timokau/neovim-qt-wrapper
neovim-qt: wrap in separate derivation
2019-01-08 20:24:03 +08:00
Roman Volosatovs b4ed953bb2
neovim: 0.3.2 -> 0.3.3 2019-01-06 21:49:31 +01:00
Timo Kaufmann ee9bc405b9 neovim-qt: wrap in separate derivation
This makes it possible to swap out the (wrapped) neovim without
recompiling neovim-qt. In particular, the user can use `neovim.override`
to configure their neovim and then use that same configuration for
neovim-qt, without having to give up binary caching.
2019-01-06 10:56:27 +01:00
R. RyanTM 1c78a0313d neovim-remote: 2.1.1 -> 2.1.3 (#52798)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-neovim-remote/versions
2019-01-01 19:35:21 +01:00
Milan Svoboda b58ccb43c9 neovim: 0.3.1 -> 0.3.2 (#53130)
* update neovim
* neovim: -> 0.3.2
2019-01-01 19:03:47 +01:00
Timo Kaufmann d9d9ac989a neovim: mark as broken for aarch64
Has always been broken.
2018-12-31 11:12:51 +01:00
Maximilian Bosch 5e16e65dcf
Merge pull request #52175 from r-ryantm/auto-update/neovim-qt
neovim-qt: 0.2.10 -> 0.2.11
2018-12-18 23:54:57 +01:00
R. RyanTM 4c3e1114d8 neovim-qt: 0.2.10 -> 0.2.11
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/neovim-qt/versions
2018-12-14 23:01:19 -08:00
Alexey Shmalko bc51418f1a
neovim-pygui: remove 2018-12-10 23:19:45 +02:00
Alexey Shmalko 211938532c
pythonPackages.neovim-remote: 2.1.0 -> 2.1.1 2018-12-09 01:25:54 +02:00
Alexey Shmalko 4898e09215
pythonPackages.neovim-0.3.0 -> pythonPackages.pynvim-0.3.1 2018-12-09 01:15:41 +02:00
Wael M. Nasreddine da4a004193
neovim wrapper: add withNodeJs to build wrapper with nodejs support 2018-11-14 19:54:47 -08:00
R. RyanTM 93a2ad09f5 neovim-remote: 2.0.5 -> 2.1.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-neovim-remote/versions
2018-10-24 02:39:03 -07:00
R. RyanTM 76051c1ef6 neovim-qt: 0.2.9 -> 0.2.10 (#46234)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
neovim-qt
2018-09-15 17:19:19 +02:00
John Ericson 51907d257c stdenv, neovim: Use lib.warn for deprecation warnings 2018-09-05 11:40:29 -04:00
Jörg Thalheim 663951eaa3
Merge pull request #43388 from symphorien/neovim-python-env
Fix neovim PYTHONPATH handling
2018-08-30 08:51:21 +01:00
R. RyanTM 9dfb851c6f neovim-qt: 0.2.8 -> 0.2.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/neovim-qt/versions.
2018-08-24 00:21:53 -07:00
Andrew Childs 3f0fa8fd77 neovim-qt: fix msgpack dependency, disable failing test, Darwin 2018-08-20 01:07:57 +09:00
Orivej Desh 65663f883c msgpack: rename from libmsgpack
The project does not use the name "libmsgpack". It variously uses "msgpack" and
"msgpack-c", and "msgpackc" for the name of the library.
2018-08-18 23:19:54 +00:00
Symphorien Gibol dddaa94ac2 neovim wrapper: also make <vimplugin>.pythonDepedencies a function
A function of the same signature as the argument of python.withPackages
2018-07-27 00:27:44 +02:00
Symphorien Gibol c1752666df neovim wrapper: use python.withPackages instead of python.buildEnv
They are both as powerful, but buildEnv is treacherous: if you pass a
package which depends on another python (for example the one of unstable
when you are on stable) it will be *silently* dropped, leading to hair
pulling.

Use case:
override neovim from unstable, but still keep stable's pythonPackages.
2018-07-24 15:05:50 +02:00
Symphorien Gibol 10436a707a neovim wrapper: do not unset PYTHONPATH
This solves the following bug:
opening neovim in nix-shell -p pythonPackages.numpy does not enable to
run successfully
:!python -c "import numpy"
because the PYTHONPATH is wiped by the neovim wrapper.

This wiping is necessary for the python providers, though, otherwise a
python2 nix-shell will make the python3 provider read python2 files.

We wrap the providers only, instead of neovim as whole.
2018-07-24 15:02:48 +02:00
Wael M. Nasreddine 5c7c2be709 neovim: fix the xsel path in the clipboard runtime provider 2018-07-22 21:32:16 -07:00
Frederik Rietdijk e3d4ef9c7e
Merge pull request #43925 from r-ryantm/auto-update/neovim-unwrapped
neovim-unwrapped: 0.3.0 -> 0.3.1
2018-07-22 08:37:44 +02:00
R. RyanTM 4c1eb7fbe6 neovim-unwrapped: 0.3.0 -> 0.3.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/neovim-unwrapped/versions.
2018-07-21 14:18:00 -07:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Jörg Thalheim b494ef4db6 neovim: add missing libiconv 2018-06-12 10:16:55 +01:00
Cole Mickens 47348e20d1 neovim: 0.2.2 -> 0.3.0 2018-06-11 17:43:18 -07:00