summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/generators.nix13
-rw-r--r--lib/types.nix3
-rw-r--r--maintainers/maintainer-list.nix12
-rw-r--r--nixos/modules/services/misc/rippled.nix1
-rw-r--r--nixos/modules/services/misc/svnserve.nix1
-rw-r--r--nixos/modules/services/misc/synergy.nix5
-rw-r--r--nixos/modules/services/misc/weechat.nix1
-rw-r--r--nixos/modules/services/network-filesystems/xtreemfs.nix15
-rw-r--r--nixos/modules/services/network-filesystems/yandex-disk.nix2
-rw-r--r--nixos/modules/services/networking/bind.nix2
-rw-r--r--nixos/modules/services/networking/shairport-sync.nix2
-rw-r--r--nixos/modules/services/web-servers/nginx/location-options.nix2
-rw-r--r--nixos/modules/services/web-servers/unit/default.nix2
-rw-r--r--nixos/modules/services/x11/desktop-managers/cinnamon.nix1
-rw-r--r--nixos/modules/services/x11/desktop-managers/gnome3.nix1
-rw-r--r--nixos/modules/services/x11/desktop-managers/pantheon.nix1
-rw-r--r--nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix1
-rw-r--r--nixos/modules/services/x11/window-managers/exwm.nix1
-rw-r--r--nixos/modules/services/x11/window-managers/xmonad.nix1
-rw-r--r--nixos/modules/services/x11/xserver.nix1
-rw-r--r--nixos/modules/virtualisation/xen-dom0.nix5
-rw-r--r--nixos/tests/all-tests.nix1
-rw-r--r--nixos/tests/kernel-latest-ath-user-regd.nix17
-rw-r--r--pkgs/applications/audio/carla/default.nix6
-rw-r--r--pkgs/applications/backup/vorta/default.nix19
-rw-r--r--pkgs/applications/graphics/ImageMagick/default.nix30
-rw-r--r--pkgs/applications/misc/perkeep/default.nix38
-rw-r--r--pkgs/applications/networking/browsers/chromium/common.nix10
-rw-r--r--pkgs/applications/networking/cluster/cloudfoundry-cli/default.nix (renamed from pkgs/development/tools/cloudfoundry-cli/default.nix)44
-rw-r--r--pkgs/applications/networking/instant-messengers/signal-cli/default.nix14
-rwxr-xr-xpkgs/applications/networking/instant-messengers/zoom-us/update.sh4
-rw-r--r--pkgs/applications/networking/irc/weechat/default.nix4
-rw-r--r--pkgs/applications/networking/protonvpn-cli/default.nix8
-rw-r--r--pkgs/applications/networking/remote/vmware-horizon-client/default.nix102
-rwxr-xr-xpkgs/applications/networking/remote/vmware-horizon-client/update.sh27
-rw-r--r--pkgs/applications/office/portfolio/default.nix4
-rw-r--r--pkgs/applications/science/chemistry/molden/default.nix6
-rw-r--r--pkgs/applications/virtualization/docker/default.nix25
-rw-r--r--pkgs/development/libraries/cxxopts/default.nix27
-rw-r--r--pkgs/development/libraries/gdal/2.4.nix (renamed from pkgs/development/libraries/gdal/2.4.0.nix)28
-rw-r--r--pkgs/development/libraries/gtk/4.x.nix232
-rw-r--r--pkgs/development/libraries/gtk/hooks/gtk4-clean-immodules-cache.sh11
-rw-r--r--pkgs/development/libraries/libwebsockets/default.nix13
-rw-r--r--pkgs/development/libraries/qt-5/5.12/default.nix9
-rw-r--r--pkgs/development/libraries/qt-5/5.12/fetch.sh2
-rw-r--r--pkgs/development/libraries/qt-5/5.12/srcs.nix320
-rw-r--r--pkgs/development/php-packages/composer/2.0.nix4
-rw-r--r--pkgs/development/php-packages/php-cs-fixer/default.nix4
-rw-r--r--pkgs/development/php-packages/phpstan/default.nix4
-rw-r--r--pkgs/development/python-modules/cassandra-driver/default.nix70
-rw-r--r--pkgs/development/python-modules/django_silk/default.nix14
-rw-r--r--pkgs/development/python-modules/dufte/default.nix8
-rw-r--r--pkgs/development/python-modules/geomet/default.nix37
-rw-r--r--pkgs/development/python-modules/gremlinpython/default.nix54
-rw-r--r--pkgs/development/python-modules/imap-tools/default.nix42
-rw-r--r--pkgs/development/python-modules/npyscreen/default.nix21
-rw-r--r--pkgs/development/python-modules/sphinx-autobuild/default.nix30
-rw-r--r--pkgs/development/tools/analysis/tflint/default.nix6
-rw-r--r--pkgs/games/legendary-gl/default.nix11
-rw-r--r--pkgs/misc/vim-plugins/generated.nix12
-rw-r--r--pkgs/misc/vim-plugins/vim-plugin-names1
-rw-r--r--pkgs/servers/http/jetty/default.nix7
-rw-r--r--pkgs/servers/mail/dovecot/plugins/fts_xapian/default.nix12
-rw-r--r--pkgs/servers/miniflux/default.nix10
-rw-r--r--pkgs/shells/tcsh/default.nix3
-rw-r--r--pkgs/tools/backup/duplicity/default.nix4
-rw-r--r--pkgs/tools/compression/bzip2/default.nix2
-rw-r--r--pkgs/tools/networking/driftnet/default.nix67
-rw-r--r--pkgs/tools/networking/driftnet/fix-darwin-build.patch61
-rw-r--r--pkgs/tools/networking/nikto/NIKTODIR-nix-wrapper-fix.patch26
-rw-r--r--pkgs/tools/networking/nikto/default.nix64
-rw-r--r--pkgs/tools/security/rage/default.nix3
-rw-r--r--pkgs/tools/text/gnused/default.nix2
-rw-r--r--pkgs/top-level/all-packages.nix18
-rw-r--r--pkgs/top-level/python-packages.nix10
75 files changed, 1277 insertions, 404 deletions
diff --git a/lib/generators.nix b/lib/generators.nix
index 501a23599f45..9546f5b5b0ab 100644
--- a/lib/generators.nix
+++ b/lib/generators.nix
@@ -236,12 +236,17 @@ rec {
+ libStr.concatMapStringsSep introSpace (go (indent + " ")) v
+ outroSpace + "]"
else if isFunction v then
- let fna = lib.functionArgs v;
+ # functionArgs throws in case of (partially applied) builtins
+ # on nix before commit b2748c6e99239ff6803ba0da76c362790c8be192
+ # which includes current nix stable
+ # TODO remove tryEval workaround when the issue is resolved on nix stable
+ let fna = builtins.tryEval (lib.functionArgs v);
showFnas = concatStringsSep ", " (libAttr.mapAttrsToList
(name: hasDefVal: if hasDefVal then name + "?" else name)
- fna);
- in if fna == {} then "<function>"
- else "<function, args: {${showFnas}}>"
+ fna.value);
+ in if !fna.success || fna.value == {}
+ then "<function>"
+ else "<function, args: {${showFnas}}>"
else if isAttrs v then
# apply pretty values if allowed
if attrNames v == [ "__pretty" "val" ] && allowPrettyValues
diff --git a/lib/types.nix b/lib/types.nix
index 77245158d9f8..d0a8e96149d7 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -454,7 +454,8 @@ rec {
};
functionTo = elemType: mkOptionType {
- name = "function that evaluates to a(n) ${elemType.name}";
+ name = "functionTo";
+ description = "function that evaluates to a(n) ${elemType.name}";
check = isFunction;
merge = loc: defs:
fnArgs: (mergeDefinitions (loc ++ [ "[function body]" ]) elemType (map (fn: { inherit (fn) file; value = fn.value fnArgs; }) defs)).mergedValue;
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 09279ac608fa..a7313e8fdfae 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -3741,6 +3741,12 @@
githubId = 130903;
name = "Ana Hobden";
};
+ holgerpeters = {
+ name = "Holger Peters";
+ email = "holger.peters@posteo.de";
+ github = "HolgerPeters";
+ githubId = 4097049;
+ };
hrdinka = {
email = "c.nix@hrdinka.at";
github = "hrdinka";
@@ -8655,6 +8661,12 @@
githubId = 7669898;
name = "Katharina Fey";
};
+ spease = {
+ email = "peasteven@gmail.com";
+ github = "spease";
+ githubId = 2825204;
+ name = "Steven Pease";
+ };
spencerjanssen = {
email = "spencerjanssen@gmail.com";
github = "spencerjanssen";
diff --git a/nixos/modules/services/misc/rippled.nix b/nixos/modules/services/misc/rippled.nix
index ef34e3a779f0..2fce3b9dc94c 100644
--- a/nixos/modules/services/misc/rippled.nix
+++ b/nixos/modules/services/misc/rippled.nix
@@ -389,6 +389,7 @@ in
extraConfig = mkOption {
default = "";
+ type = types.lines;
description = ''
Extra lines to be added verbatim to the rippled.cfg configuration file.
'';
diff --git a/nixos/modules/services/misc/svnserve.nix b/nixos/modules/services/misc/svnserve.nix
index f70e3ca7fef0..5fa262ca3b94 100644
--- a/nixos/modules/services/misc/svnserve.nix
+++ b/nixos/modules/services/misc/svnserve.nix
@@ -24,6 +24,7 @@ in
};
svnBaseDir = mkOption {
+ type = types.str;
default = "/repos";
description = "Base directory from which Subversion repositories are accessed.";
};
diff --git a/nixos/modules/services/misc/synergy.nix b/nixos/modules/services/misc/synergy.nix
index 5b7cf3ac46c3..7990a9f6f4ce 100644
--- a/nixos/modules/services/misc/synergy.nix
+++ b/nixos/modules/services/misc/synergy.nix
@@ -23,12 +23,14 @@ in
screenName = mkOption {
default = "";
+ type = types.str;
description = ''
Use the given name instead of the hostname to identify
ourselves to the server.
'';
};
serverAddress = mkOption {
+ type = types.str;
description = ''
The server address is of the form: [hostname][:port]. The
hostname must be the address or hostname of the server. The
@@ -46,10 +48,12 @@ in
enable = mkEnableOption "the Synergy server (send keyboard and mouse events)";
configFile = mkOption {
+ type = types.path;
default = "/etc/synergy-server.conf";
description = "The Synergy server configuration file.";
};
screenName = mkOption {
+ type = types.str;
default = "";
description = ''
Use the given name instead of the hostname to identify
@@ -57,6 +61,7 @@ in
'';
};
address = mkOption {
+ type = types.str;
default = "";
description = "Address on which to listen for clients.";
};
diff --git a/nixos/modules/services/misc/weechat.nix b/nixos/modules/services/misc/weechat.nix
index c6ff540ea12f..b71250f62e0f 100644
--- a/nixos/modules/services/misc/weechat.nix
+++ b/nixos/modules/services/misc/weechat.nix
@@ -20,6 +20,7 @@ in
type = types.str;
};
binary = mkOption {
+ type = types.path;
description = "Binary to execute (by default \${weechat}/bin/weechat).";
example = literalExample ''
''${pkgs.weechat}/bin/weechat-headless
diff --git a/nixos/modules/services/network-filesystems/xtreemfs.nix b/nixos/modules/services/network-filesystems/xtreemfs.nix
index 27a9fe847c58..6cc8a05ee00b 100644
--- a/nixos/modules/services/network-filesystems/xtreemfs.nix
+++ b/nixos/modules/services/network-filesystems/xtreemfs.nix
@@ -92,6 +92,7 @@ in
enable = mkEnableOption "XtreemFS";
homeDir = mkOption {
+ type = types.path;
default = "/var/lib/xtreemfs";
description = ''
XtreemFS home dir for the xtreemfs user.
@@ -109,6 +110,7 @@ in
uuid = mkOption {
example = "eacb6bab-f444-4ebf-a06a-3f72d7465e40";
+ type = types.str;
description = ''
Must be set to a unique identifier, preferably a UUID according to
RFC 4122. UUIDs can be generated with `uuidgen` command, found in
@@ -117,11 +119,13 @@ in
};
port = mkOption {
default = 32638;
+ type = types.port;
description = ''
The port to listen on for incoming connections (TCP).
'';
};
address = mkOption {
+ type = types.str;
example = "127.0.0.1";
default = "";
description = ''
@@ -131,12 +135,14 @@ in
};
httpPort = mkOption {
default = 30638;
+ type = types.port;
description = ''
Specifies the listen port for the HTTP service that returns the
status page.
'';
};
syncMode = mkOption {
+ type = types.enum [ "ASYNC" "SYNC_WRITE_METADATA" "SYNC_WRITE" "FDATASYNC" "ASYNC" ];
default = "FSYNC";
example = "FDATASYNC";
description = ''
@@ -229,6 +235,7 @@ in
uuid = mkOption {
example = "eacb6bab-f444-4ebf-a06a-3f72d7465e41";
+ type = types.str;
description = ''
Must be set to a unique identifier, preferably a UUID according to
RFC 4122. UUIDs can be generated with `uuidgen` command, found in
@@ -237,12 +244,14 @@ in
};
port = mkOption {
default = 32636;
+ type = types.port;
description = ''
The port to listen on for incoming connections (TCP).
'';
};
address = mkOption {
example = "127.0.0.1";
+ type = types.str;
default = "";
description = ''
If specified, it defines the interface to listen on. If not
@@ -251,6 +260,7 @@ in
};
httpPort = mkOption {
default = 30636;
+ type = types.port;
description = ''
Specifies the listen port for the HTTP service that returns the
status page.
@@ -258,6 +268,7 @@ in
};
syncMode = mkOption {
default = "FSYNC";
+ type = types.enum [ "ASYNC" "SYNC_WRITE_METADATA" "SYNC_WRITE" "FDATASYNC" "ASYNC" ];
example = "FDATASYNC";
description = ''
The sync mode influences how operations are committed to the disk
@@ -367,6 +378,7 @@ in
uuid = mkOption {
example = "eacb6bab-f444-4ebf-a06a-3f72d7465e42";
+ type = types.str;
description = ''
Must be set to a unique identifier, preferably a UUID according to
RFC 4122. UUIDs can be generated with `uuidgen` command, found in
@@ -375,12 +387,14 @@ in
};
port = mkOption {
default = 32640;
+ type = types.port;
description = ''
The port to listen on for incoming connections (TCP and UDP).
'';
};
address = mkOption {
example = "127.0.0.1";
+ type = types.str;
default = "";
description = ''
If specified, it defines the interface to listen on. If not
@@ -389,6 +403,7 @@ in
};
httpPort = mkOption {
default = 30640;
+ type = types.port;
description = ''
Specifies the listen port for the HTTP service that returns the