1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 10:00:56 +00:00
nixpkgs/pkgs
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
..
applications emacs-modes: build MELPA package sets without null packages 2020-03-26 16:32:11 -04:00
build-support fetchsvn: Fix for cross 2020-03-09 02:11:45 -04:00
common-updater
data Merge pull request #79505 from r-ryantm/auto-update/flat-remix-icon-theme 2020-02-10 12:47:26 -03:00
desktops cinnamon.cinnamon-translations: 4.4.0 -> 4.4.2 2020-02-08 01:45:06 +00:00
development Merge pull request #79717 from filalex77/elixir-1.10.1 2020-02-10 13:30:29 -05:00
games vms-empire: 1.14 -> 1.15 2020-02-10 19:44:18 +01:00
misc Merge pull request #79474 from ashkitten/update-dolphin 2020-02-09 09:05:01 -05:00
os-specific Merge pull request #79628 from NixOS/staging-next 2020-02-10 17:53:25 +01:00
servers tautulli: 2.1.42 -> 2.1.44 2020-02-10 18:10:18 +01:00
shells oh-my-zsh: 2020-02-04 -> 2020-02-07 2020-02-10 07:23:08 -05:00
stdenv make-bootstrap-tools: fixup after glibc update 2020-02-10 17:31:35 +01:00
test tests.nixos-functions: port test to python 2020-02-09 23:53:58 +01:00
tools tor: 0.4.2.5 -> 0.4.2.6 2020-02-10 19:43:58 +01:00
top-level Merge pull request #79416 from jtojnar/flatpak-1.6 2020-02-10 12:57:19 -05:00