1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/pkgs/applications/editors
Servilio Afre Puentes b2c8626d61 emacs-modes: build MELPA package sets without null packages
The current algorithm creates attributes with null values for packages
with no source in a variant of MELPA. Though will satify dependencies
they produce no files, and though a build that transitively depends on
one them will be successful, Emacs won't find them and any code
depending on them won't work.

The solution with minimal code change would have been filtering the
list of results from melpaDerivation by comparing the value against
null, but that leads to an infinite recursion.

This commit also moves legacy renames from the shared to the unstable
set, as the corresponding null value elements won't exist in the
stable set anymore.

The test used for the problem was:

  $ nix-build --show-trace ./default.nix -A emacs26Packages.melpaStablePackages.findr
  error: expression does not evaluate to a derivation (or a set or list of those)

The expected output, obtained with this commit is:

  $ nix-build --show-trace ./default.nix -A emacs26Packages.melpaStablePackages.findr
  error: attribute 'findr' in selection path 'emacs26Packages.melpaStablePackages.findr' not found
2020-03-26 16:32:11 -04:00
..
aewan
amp
android-studio androidStudioPackages.beta: 3.6.0.18 -> 3.6.0.19 2020-01-30 20:03:20 +01:00
aseprite
atom atom, atom-beta: 1.36.1 -> 1.42.0, 1.37.0-beta0 -> 1.43.0-beta0 2019-12-31 01:25:00 +01:00
bless bless: init at 0.6.2 2020-02-01 13:01:46 +01:00
bluefish
bonzomatic
brackets
bvi
bviplus bviplus: 0.9.4 -> 1.0 2020-01-20 04:23:13 +00:00
codeblocks treewide: configureFlags is a flat list 2019-12-31 01:37:49 +01:00
deadpixi-sam
dhex
dit
eclipse eclipses.plugins.cdt: fix source hash 2020-01-24 20:18:14 +01:00
ed
edbrowse treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
edit
elvis
emacs treewide: installTargets is a list 2019-12-31 00:25:26 +01:00
emacs-modes emacs-modes: build MELPA package sets without null packages 2020-03-26 16:32:11 -04:00
featherpad
flpsed Remove myself (fuuzetsu) from maintainer lists 2019-12-05 16:29:48 +09:00
focuswriter focuswriter: 1.7.3 -> 1.7.4 2020-01-20 13:29:25 +01:00
fte treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
geany geany: clean up and switch to GTK3 2019-11-28 00:05:22 +01:00
ghostwriter
glow glow: 0.1.6 -> 0.2.0 2020-01-09 15:27:05 +02:00
gnome-builder gnome-builder: fix build with Meson 0.52 2019-12-02 00:23:08 +01:00
gnome-latex
gobby
hecate
heme
hexcurse
hexdino hexdino: use pname 2020-01-25 23:35:04 -05:00
hexedit
howl
ht
jedit
jetbrains jetbrains.webstorm: 2019.3.1 -> 2019.3.2 2020-01-24 02:14:02 -08:00
joe
jucipp treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
jupp
jupyter
kakoune kakoune: 2019.12.10 -> 2020.01.16 2020-01-16 14:53:08 +00:00
kdevelop5 kdev-python: 5.4.6 -> 5.5.0 2020-02-03 11:03:56 -08:00
kile
kodestudio
leafpad
leo-editor
lighttable
manuskript manuskript: 0.10.0 -> 0.11.0 2020-02-10 13:36:57 +01:00
mg
micro
mindforger
mle mle: 1.4.1 -> 1.4.2 2019-11-28 03:16:39 -08:00
moe
monodevelop
music/tuxguitar
nano nano: 4.6 -> 4.7 2019-12-25 19:50:28 +00:00
ne
nedit nedit: *Flags are lists 2019-12-30 12:15:22 +01:00
neovim Merge pull request #73854 from Dema/neovim-qt-version-bump 2020-01-13 09:07:58 +08:00
netbeans netbeans: 11.1 -> 11.2 2020-01-30 01:11:58 +01:00
notepadqq
nvi
nvpy
okteta kdeApplications.okteta: 0.26.2 -> 0.26.3 2020-02-09 13:59:25 +01:00
quartus-prime quartus: init at 19.1.0.670 2020-01-15 21:15:39 +00:00
quilter quilter: 2.0.5 -> 2.1.0 2020-02-06 14:10:42 +00:00
rednotebook rednotebook: 2.15 -> 2.16 2020-02-06 20:09:20 +01:00
retext
rstudio rstudio: use qt5's mkDerivation (#74381) 2020-02-09 01:44:53 -05:00
scite
sigil
standardnotes
sublime
supertux-editor
tecoc
texmacs treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
texmaker texmaker: 5.0.3 -> 5.0.4 2020-01-04 20:18:06 +01:00
texstudio texstudio: 2.12.16 -> 2.12.20 2020-01-16 16:44:12 +00:00
textadept
texworks
thonny thonny: 3.2.4 -> 3.2.6 2020-02-06 20:09:04 +01:00
tiled tiled: 1.3.1 -> 1.3.2 2020-01-26 12:41:44 +00:00
tweak
typora
uberwriter uberwriter: 2019-11-29 -> 2020-01-24 2020-01-25 14:23:24 +01:00
uemacs
vbindiff
vim vim: 8.1.2407 -> 8.2.0013 2019-12-31 09:28:42 +01:00
vis
vscode vscode 1.41.1 -> 1.42.0 2020-02-08 12:36:18 +10:00
wily
wxhexeditor
xmlcopyeditor
yi treewide: *inputs are lists 2019-12-31 01:09:25 +01:00
zile