Commit Graph
239359 Commits
Author SHA1 Message Date
Daniël de Kok a7aae2e34d Merge pull request #94643 from doronbehar/wrapNeovim
wrapNeovim: fix darwin build
2020-08-04 08:42:47 +02:00
Doron Behar c63b5c4c36 wrapNeovim: fix darwin build 2020-08-04 09:14:09 +03:00
zowoq 6a7f761d73 .github/workflows/wait-ofborg.yml: double timeout if staging 2020-08-04 15:28:13 +10:00
Mario Rodas c2a3988d6c Merge pull request #94559 from wjlroe/fix-zig-0.6.0
zig: fix build
2020-08-03 23:15:38 -05:00
Mario Rodas 87e39d444c Merge pull request #94634 from zowoq/delta
gitAndTools.delta: 0.3.0 -> 0.4.0
2020-08-03 23:03:59 -05:00
Silvan Mosberger d418434d12 Merge pull request #91142 from leungbk/nodePackages-vimls
nodePackages.vim-language-server: init at 2.1.0
2020-08-04 05:11:59 +02:00
Brian Leung 8d4cc5603b nodePackages.vim-language-server: init at 2.1.0 2020-08-03 19:33:14 -07:00
R. RyanTM 3d96a42d2a projectm: 3.1.3 -> 3.1.7 (#94298) 2020-08-03 22:31:18 -04:00
Jan Tojnar 5b543ef214 Merge pull request #93011 from jtojnar/meson-0.55.0 2020-08-04 04:04:50 +02:00
zowoq fe8590a18f gitAndTools.delta: 0.3.0 -> 0.4.0
https://github.com/dandavison/delta/releases/tag/0.4.0
2020-08-04 11:27:59 +10:00
José Romildo Malaquias f7f1f727c6 Merge pull request #94543 from r-ryantm/auto-update/papirus-icon-theme
papirus-icon-theme: 20200702 -> 20200801
2020-08-03 20:54:04 -03:00
Mario Rodas bc63dbcc10 Merge pull request #94605 from r-ryantm/auto-update/haproxy
haproxy: 2.1.7 -> 2.2.2
2020-08-03 18:37:54 -05:00
worldofpeace 29fc5af576 Merge pull request #93847 from MetaDark/xpadneo
linuxPackages.xpadneo: 0.8.1 -> 0.8.2
2020-08-03 19:14:00 -04:00
Bart Brouns e6ff4707bc real_time_config_quick_scan:unstable-2020-08-03 -> unstable-2020-07-23
also resolve suggestions from https://github.com/NixOS/nixpkgs/pull/78998
2020-08-04 00:27:26 +02:00
Ryan Mulligan 4eec1d6967 Merge pull request #94536 from r-ryantm/auto-update/nomacs
nomacs: 3.15.1616 -> 3.16.224
2020-08-03 15:17:08 -07:00
markuskowa 44b673a132 Merge pull request #94227 from r-ryantm/auto-update/soapyremote
soapyremote: 0.5.1 -> 0.5.2
2020-08-03 23:58:30 +02:00
markuskowa cecfe9d474 Merge pull request #94116 from r-ryantm/auto-update/linuxptp
linuxptp: 2.0 -> 3.0
2020-08-03 23:57:01 +02:00
markuskowa 9600775ebd Merge pull request #94279 from r-ryantm/auto-update/limesuite
limesuite: 20.01.0 -> 20.07.1
2020-08-03 23:46:09 +02:00
dadada 938bd67988 nixos/dokuwiki: fix path to ACL 2020-08-03 23:40:41 +02:00
Robert Scott 56f2d53f26 pythonPackages.bsdiff4: init at 1.2.0 2020-08-03 14:39:36 -07:00
Robert Scott f26cbd0caa licenses: add bsdProtection
see https://spdx.org/licenses/BSD-Protection.html
2020-08-03 14:39:36 -07:00
Pavol Rusnak 64a8d0115b python3Packages.hwi: init at 1.1.2 2020-08-03 14:13:18 -07:00
Martin Weinelt fd2c4f05f2 home-assistant: regenerate component packages 2020-08-03 13:52:39 -07:00
Martin Weinelt cd8dcb546a python3Packages.pyHS100: init at 0.3.5.1 2020-08-03 13:52:39 -07:00
Martin Weinelt 2db9d13de4 pythonPackages.click-datetime: init at 0.2 2020-08-03 13:52:39 -07:00
Tim Steinbach 18ba7fc789 linux: Remove 5.6 2020-08-03 16:49:55 -04:00
Tim Steinbach 6afba54ead linux_hardened_latest: Keep 5.7 2020-08-03 16:48:44 -04:00
Tim Steinbach 3a8cbea4f7 linux: Init 5.8 2020-08-03 16:45:45 -04:00
Silvan Mosberger 446d80d28d lib/tests: Add tests for freeform modules 2020-08-03 22:37:01 +02:00
Silvan Mosberger 2d45a62899 lib/types: Make submodules use the freeform type description
Submodules that have a freeform type set behave as if that was the type
of the option itself (for values that don't have an option). Since the
submodules options are shown as separate entries in the manual, it makes
sense to show the freeform type as the submodule type.
2020-08-03 22:37:01 +02:00
Silvan Mosberger 65e25deb06 lib/modules: Implement freeform modules
For programs that have a lot of (Nix-representable) configuration options,
a simple way to represent this in a NixOS module is to declare an
option of a type like `attrsOf str`, representing a key-value mapping
which then gets generated into a config file. However with such a type,
there's no way to add type checking for only some key values.

On the other end of the spectrum, one can declare a single separate
option for every key value that the program supports, ending up with a module
with potentially 100s of options. This has the benefit that every value
gets type checked, catching mistakes at evaluation time already. However
the disadvantage is that the module becomes big, becomes coupled to the
program version and takes a lot of effort to write and maintain.

Previously there was a middle ground between these two
extremes: Declare an option of a type like `attrsOf str`, but declare
additional separate options for the values you wish to have type
checked, and assign their values to the `attrsOf str` option. While this
works decently, it has the problem of duplicated options, since now both
the additional options and the `attrsOf str` option can be used to set a
key value. This leads to confusion about what should happen if both are
set, which defaults should apply, and more.

Now with this change, a middle ground becomes available that solves above
problems: The module system now supports setting a freeform type, which
gets used for all definitions that don't have an associated option. This
means that you can now declare all options you wish to have type
checked, while for the rest a freeform type like `attrsOf str` can be
used.
2020-08-03 22:37:00 +02:00
Silvan Mosberger fd75dc8765 lib/modules: Internally collect all unmatched definitions
This fundamentally changes how the module evaluation internally
handles definitions without an associated option.

Previously the values of these definitions were discarded and only
the names were propagated. This was fine because that's all that's
needed for optionally checking whether all definitions have an
associated option with _module.check.

However with the upcoming change of supporting freeform modules,
we *do* need the values of these.

With this change, the module evaluation cleanly separates definitions
that match an option, and ones that do not.
2020-08-03 22:37:00 +02:00
Silvan Mosberger b02a3d7b08 lib/modules: Scope module evaluation variables more tightly
This is a purely cosmetic change so it's easier to see dependencies
between variables.
2020-08-03 22:37:00 +02:00
Tim Steinbach b3f869febb linux: 5.7.11 -> 5.7.12 2020-08-03 16:35:16 -04:00
Tim Steinbach 60773afea2 linux: 5.4.54 -> 5.4.55 2020-08-03 16:35:15 -04:00
Tim Steinbach cb73bea24c linux: 4.9.231 -> 4.9.232 2020-08-03 16:35:15 -04:00
Tim Steinbach fd603b5afc linux: 4.4.231 -> 4.4.232 2020-08-03 16:35:15 -04:00
Tim Steinbach 5b88a328df linux: 4.19.135 -> 4.19.136 2020-08-03 16:35:15 -04:00
Tim Steinbach b02541c37b linux: 4.14.190 -> 4.14.191 2020-08-03 16:35:14 -04:00
Silvan Mosberger 396c16113e Merge pull request #91948 from CheariX/joplin-desktop-1.0.224
joplin-desktop: 1.0.216 -> 1.0.233
2020-08-03 22:13:22 +02:00
Ryan Mulligan 4162c69b3c Merge pull request #92468 from petabyteboy/jitsi-meet
nixos/jitsi-meet: init
2020-08-03 12:43:37 -07:00
Doron Behar 308600ce7e dxflib: install a dxflib.pc file,
Based on fedora's dxflib package
(https://src.fedoraproject.org/rpms/libdxflib/blob/master/f/libdxflib.spec)
We install a dxflib.pc file that enables e.g saga detect dxflib.
2020-08-03 22:22:55 +03:00
Doron Behar 0eafcccbc2 libsvm: make it possible to use it for saga
saga, as possibly other packages too, searches for svm.h in
include/libsvm/svm.h. Since the package doesn't hold a proper install
target, it should be OK to link the `svm.h` to `libsvm/svm.h` in
`$out/include/`.
2020-08-03 22:20:54 +03:00
Daniël de Kok aae6b4ea12 Merge pull request #94596 from r-ryantm/auto-update/imagemagick
imagemagick7: 7.0.10-19 -> 7.0.10-25
2020-08-03 20:44:34 +02:00
MetaDark d554a0aba7 linuxPackages.xpadneo: 0.8.1 -> 0.8.2
Also fixes kernel module version: @DO_NOT_CHANGE@ -> 0.8.2
2020-08-03 14:26:27 -04:00
Maximilian Bosch 2ae62ef72f Merge pull request #94611 from Ma27/rel-pkgs-error-msg
nixos/manual: improve error message for invalid values in `relatedPackages'
2020-08-03 20:17:46 +02:00
Maximilian Bosch 869bf4f76c Merge pull request #94327 from r-ryantm/auto-update/thc-hydra
thc-hydra: 9.0 -> 9.1
2020-08-03 20:14:04 +02:00
Jan Tojnar ce6e35d1f5 bustle: fix build
Patches are part of Bustle 0.8.0.
2020-08-03 19:47:37 +02:00
Bart Brouns 9796dfcb00 faustlive: 2017-12-05 -> 2.5.4 2020-08-03 19:43:28 +02:00
Bart Brouns 1fd81c957a faust: temporarily remove emscripten:
it doesn't build at the moment and is not essential to faust
2020-08-03 19:43:28 +02:00