Commit graph

358480 commits

Author SHA1 Message Date
Robert Hensing
0c09eb343d lib.modules: Refactor option scanning slightly
This scans the options with fewer function calls, improving performance.

It also removes a let Env from the happy flow of the new logic.
2022-03-03 00:28:35 +01:00
Robert Hensing
58a8a48e9d lib.types.submodule: Remove redundant isSubmodule attr 2022-03-03 00:28:35 +01:00
Robert Hensing
d030e2109f lib.modules: Let module declare options directly in bare submodule
... where a bare submodule is an option that has a type like
`submoduleWith x`, as opposed to `attrsOf (submoduleWith x)`.

This makes migration unnecessary when introducing a freeform type
in an existing option tree.

Closes #146882
2022-03-03 00:28:35 +01:00
Fabian Affolter
33e8df0921
Merge pull request #162532 from fabaff/bump-soco
python3Packages.soco: 0.26.3 -> 0.26.4
2022-03-03 00:08:34 +01:00
Fabian Affolter
485517205b
Merge pull request #162541 from fabaff/bump-meshtastic
python3Packages.meshtastic: 1.2.87 -> 1.2.88
2022-03-03 00:07:57 +01:00
Lyndon Sanche
3f4b189485 alacritty: 0.10.0 -> 0.10.1 2022-03-02 14:48:37 -08:00
Bernardo Meurer
d9aa42326f
Merge pull request #162537 from lovesegfault/pulumi-update
pulumi-bin: 3.22.1 -> 3.25.1
2022-03-02 14:09:56 -08:00
Fabian Affolter
fe65279cb8 python3Packages.meshtastic: 1.2.87 -> 1.2.88 2022-03-02 22:53:12 +01:00
Fabian Affolter
b01649ffc0
Merge pull request #162510 from fabaff/bump-checkov
checkov: 2.0.908 -> 2.0.913
2022-03-02 22:47:06 +01:00
Bernardo Meurer
37143b9cd9
pulumi-bin: 3.22.1 -> 3.25.1 2022-03-02 13:45:12 -08:00
Artturi
40cc4ae294
Merge pull request #160159 from psydvl/discord-ptb 2022-03-02 23:38:25 +02:00
Michael Weiss
8db2ef0b8f
Merge pull request #161866 from r-ryantm/auto-update/signal-desktop
signal-desktop: 5.31.1 -> 5.33.0
2022-03-02 22:29:50 +01:00
zowoq
6979f4920d terraform: 1.1.6 -> 1.1.7
https://github.com/hashicorp/terraform/releases/tag/v1.1.7
2022-03-03 07:09:53 +10:00
Fabian Affolter
c27c301544
Merge pull request #160003 from fabaff/fix-flexget
flexget: override jsonschema
2022-03-02 22:04:20 +01:00
Fabian Affolter
63f536d770 python3Packages.soco: 0.26.3 -> 0.26.4 2022-03-02 21:59:36 +01:00
Robert Schütz
3e072546ea python3Packages.tifffile: remove old patch 2022-03-02 20:48:56 +00:00
Fabian Affolter
2c4ac5f402 flexget: relax dependency constrains 2022-03-02 21:40:49 +01:00
zowoq
6a28e4887c nixos/release: disable nfs3.simple
follow up from 5682853027
2022-03-03 06:34:59 +10:00
Jonathan Ringer
4550f15784 wpsoffice: don't use nativeOnly for steam 2022-03-02 12:25:45 -08:00
Jonathan Ringer
5f91781b55 treewide: remove steam-run-native 2022-03-02 12:25:45 -08:00
Jonathan Ringer
ee5fab452b steam-run-native: deprecate 2022-03-02 12:25:45 -08:00
Jonathan Ringer
fae860361e steam: remove nativeOnly options 2022-03-02 12:25:45 -08:00
Renaud
671a068a01
Remove F-PROT package and service module (EoL) (#160372) 2022-03-02 21:51:47 +02:00
Robert Schütz
6fc2b4b5e9 python3Packages.twitchapi: init at 2.5.2 2022-03-02 11:46:58 -08:00
aszlig
7286be7e81 nixos/systemd-confinement: Allow shipped unit file
In issue #157787 @martined wrote:

  Trying to use confinement on packages providing their systemd units
  with systemd.packages, for example mpd, fails with the following
  error:

  system-units> ln: failed to create symbolic link
  '/nix/store/...-system-units/mpd.service': File exists

  This is because systemd-confinement and mpd both provide a mpd.service
  file through systemd.packages. (mpd got updated that way recently to
  use upstream's service file)

To address this, we now place the unit file containing the bind-mounted
paths of the Nix closure into a drop-in directory instead of using the
name of a unit file directly.

This does come with the implication that the options set in the drop-in
directory won't apply if the main unit file is missing. In practice
however this should not happen for two reasons:

  * The systemd-confinement module already sets additional options via
    systemd.services and thus we should get a main unit file
  * In the unlikely event that we don't get a main unit file regardless
    of the previous point, the unit would be a no-op even if the options
    of the drop-in directory would apply

Another thing to consider is the order in which those options are
merged, since systemd loads the files from the drop-in directory in
alphabetical order. So given that we have confinement.conf and
overrides.conf, the confinement options are loaded before the NixOS
overrides.

Since we're only setting the BindReadOnlyPaths option, the order isn't
that important since all those paths are merged anyway and we still
don't lose the ability to reset the option since overrides.conf comes
afterwards.

Fixes: https://github.com/NixOS/nixpkgs/issues/157787
Signed-off-by: aszlig <aszlig@nix.build>
2022-03-02 11:42:44 -08:00
Samuel Ainsworth
2e3231cd6b python3Packages.wandb: 0.12.10 -> 0.12.11 2022-03-02 11:41:33 -08:00
Scriptkiddi
98213c5eaf python3Packages.pyprecice: init at 2.3.0.1 2022-03-02 11:40:44 -08:00
Fabian Affolter
6c8c2339ca python3Packages.pyskyqremote: remove stale input 2022-03-02 11:31:45 -08:00
Fabian Affolter
b9f5f4fe6f python3Packages.pyskyqremote: 0.3.2 -> 0.3.5 2022-03-02 11:31:45 -08:00
R. Ryantm
e0fbb0a974 python310Packages.PyChromecast: 10.2.3 -> 10.3.0 2022-03-02 11:29:34 -08:00
Fabian Affolter
3116a1e430 python3Packages.adafruit-io: init at 2.6.0 2022-03-02 11:29:16 -08:00
Fabian Affolter
0da44bd46d python3Packages.pycfmodel: 0.16.3 -> 0.17.0 2022-03-02 11:29:06 -08:00
R. Ryantm
d33740c674 python310Packages.weasyprint: 54.1 -> 54.2 2022-03-02 11:18:21 -08:00
Fabian Affolter
7e814f1b74 python3Packages.adafruit-platformdetect: 3.20.0 -> 3.20.1 2022-03-02 11:11:11 -08:00
Renaud
53d7e8f391
klayout: 0.27.3 -> 0.27.8
(#161675)
2022-03-02 20:08:18 +01:00
Samuel Ainsworth
78892fe8cf python3Packages.torch-tb-profiler: init at 0.3.1 2022-03-02 11:07:51 -08:00
Renaud
6c2fe76f6f
Merge pull request #161850 from r-ryantm/auto-update/octant
octant: 0.25.0 -> 0.25.1
2022-03-02 20:05:44 +01:00
Lassulus
1d8b13942b
Merge pull request #161504 from moinessim/writefsharp
writers: Add writeFSharp and makeFSharpWriter functions to writers
2022-03-02 20:05:18 +01:00
Felix Buehler
2e5f265fdb emacs-nox: remove appendToName to have a consistent package name for repology 2022-03-02 11:00:53 -08:00
Silvan Mosberger
6bcfd61109
Merge pull request #162283 from Infinisil/functionTo.description
lib/types: Fix functionTo description
2022-03-02 19:42:48 +01:00
Jonathan Ringer
a0148164d6 electrum-grs: fix src 2022-03-02 10:20:57 -08:00
0x4A6F
863e8630df
Merge pull request #162430 from Artturin/gitblameignorerevadd
git-blame-ignore-revs: add a file to ignore certain git revisions
2022-03-02 18:57:07 +01:00
Emery Hemingway
da7947c8da nncp: 8.5.0 -> 8.6.0 2022-03-02 11:43:36 -06:00
Artturin
0876565e5c playonlinux: improve wrapping
add hicolor-icon-theme to fix gtk warning
2022-03-02 09:37:36 -08:00
Silvan Mosberger
c1dfec2be6
Merge pull request #149689 from Infinisil/types-type
Introduce `types.optionType` and use it for `freeformType`
2022-03-02 18:29:44 +01:00
Fabian Affolter
cec1221ccf checkov: 2.0.908 -> 2.0.913 2022-03-02 18:02:34 +01:00
0x4A6F
bff70d25ff
Merge pull request #149751 from CorbanR/add_user_to_maintainers
libpulsar: init at 2.9.1
2022-03-02 17:45:58 +01:00
R. Ryantm
276f639ac2 python39Packages.graphql-subscription-manager: 0.5.0 -> 0.5.1 2022-03-02 16:36:01 +00:00
Kevin Cox
79862ae905
Merge pull request #161008 from rhysmdnz/xone
xone: init package and module
2022-03-02 11:26:51 -05:00
Ivv
d5bdc09f3e
Merge pull request #162418 from dotlambda/nextcord-init
python3Packages.nextcord: init at 2.0.0a8
2022-03-02 16:45:40 +01:00