1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00
Commit graph

308451 commits

Author SHA1 Message Date
rnhmjoj 99e8af51b2
nixos/wireless: use udev to wait for interfaces
I may have finally found a clean solution to the issues[1][2][3] with
the automatic discovery of wireless network interfaces.

[1]: https://github.com/NixOS/nixpkgs/issues/101963
[2]: https://github.com/NixOS/nixpkgs/issues/23196
[3]: https://github.com/NixOS/nixpkgs/pull/125917#issuecomment-856000426

Currently the start script fails right away if no interface is available
by the time it's running, possibly leaving the system without network.
This happens when running a little early in the boot. A solution is to
instead wait for at least one interface to appear before scanning the
/sys/class/net/ directory. This is done here by listening for the right
udev events (from the net/wlan subsystem) using the `udevadm monitor`
command and grep to match its output.

This methods guarantees the availability of at least one interface to
wpa_supplicant, but won't add additional interfaces once it has started.
However, if the current interface is lost, say unplugged, the service is
automatically stopped and will be restarted as soon as a one (not
necessarily the same) is detected. It would be possible make this fully
dynamic by running another service that continously listen for udev
events and manages the main wpa_supplicant daemon, but this is probably
overkill.

I tested the following cases:

  - one interface, starting at boot, w/o predictable naming scheme
  - two interfaces, starting at boot (intel wireless and a usb adapter),
    w/o predictable naming scheme
  - one interface after the system booted, w/o predictable naming scheme
  - two interfaces after the system booted, w/o predictable naming scheme
  - unplugging and plugging back the current interface
2021-08-12 00:31:06 +02:00
Fabian Affolter 95e7a0c752 python3Packages.amqtt: 0.10.0-alpha.4 -> 0.10.0 2021-08-12 00:04:30 +02:00
Fabian Affolter d08a041b37 python3Packages.sendgrid: 6.7.1 -> 6.8.0 2021-08-12 00:01:03 +02:00
markuskowa 4b88ab8c5c
Merge pull request #133549 from markuskowa/upd-spglib
spglib: 1.16.1 -> 1.16.2
2021-08-11 23:53:11 +02:00
fortuneteller2k 3e3f3ac824 elfcat: 0.1.4 -> 0.1.6 2021-08-12 05:42:51 +08:00
Ryan Mulligan e29a6d5e00
Merge pull request #133545 from r-ryantm/auto-update/infracost
infracost: 0.9.4 -> 0.9.5
2021-08-11 14:41:42 -07:00
Markus Kowalewski 239247b25e
spglib: 1.16.1 -> 1.16.2 2021-08-11 23:31:28 +02:00
R. RyanTM 3059ee0c49 infracost: 0.9.4 -> 0.9.5 2021-08-11 21:06:28 +00:00
Michael Weiss 624cb8bc2b
chromiumDev: 94.0.4595.0 -> 94.0.4603.0 2021-08-11 22:59:55 +02:00
Michael Weiss 4a5b367259
chromium: Restructure the code
This should make it a little bit easier to read. The (native) build
inputs and options now have a consistent order, defaultDependencies and
yasm aren't required anymore, and this adds some brief comments.
Note: The third_party/node/linux/node-linux-x64/bin/node change causes
rebuilds.
2021-08-11 22:59:10 +02:00
Artturi d9fd066b88
Merge pull request #133534 from r-ryantm/auto-update/gitkraken
gitkraken: 7.7.1 -> 7.7.2
2021-08-11 23:08:49 +03:00
Artturi 8ebdf7ec6b
Merge pull request #133322 from r-ryantm/auto-update/ginac
ginac: 1.8.0 -> 1.8.1
2021-08-11 23:01:14 +03:00
Fabian Affolter d2a64c0112 sqlfluff: 0.6.1 -> 0.6.2 2021-08-11 21:20:26 +02:00
Jörg Thalheim 6ba79a5320
Merge pull request #133487 from NixOS/home-assistant
home-assistant: 2021.8.5 -> 2021.8.6
2021-08-11 20:20:08 +01:00
Yestin L. Harrison 07deb55d5d
plan9port: unmark as broken on darwin
Builds and runs just fine with an overlay filtering out the broken attr
2021-08-11 12:55:08 -06:00
R. RyanTM 1685d65266 gitkraken: 7.7.1 -> 7.7.2 2021-08-11 18:39:59 +00:00
Fabian Affolter 34a7dce51a terrascan: 1.8.1 -> 1.9.0 2021-08-11 20:35:26 +02:00
sophrosyne97 f5152b2122 etesync-dav: 0.30.7 -> 0.30.8 2021-08-11 14:31:13 -04:00
Artturi 62ca1cc769
Merge pull request #133358 from r-ryantm/auto-update/agi
agi: 2.1.0-dev-20210804 -> 2.1.0-dev-20210809
2021-08-11 21:29:56 +03:00
Fabian Affolter a4f75a3f79 python3Packages.awesomeversion: 21.6.0 -> 21.8.0 2021-08-11 20:28:32 +02:00
Arian van Putten 19199be03a afterburn: use postPatch 2021-08-11 21:14:20 +03:00
R. RyanTM 7fab62ec16 afterburn: 5.0.0 -> 5.1.0 2021-08-11 21:14:20 +03:00
Fabian Affolter c9746ee9e5 python3Packages.connexion: 2.7.0 -> 2.9.0 2021-08-11 20:11:33 +02:00
Janne Heß 46b7a5be1c
libspf2: Fix CVE-2021-20314
There is no new release yet (see mailing list post on oss-security), so
I'm picking the commit that fixes the CVE.

There is another security flaw (without a CVE number) that is also
mentioned in the oss-security announcement but it is not explained which
commit patches the problem.
2021-08-11 20:06:30 +02:00
Fabian Affolter ebfb1809e4
Merge pull request #133527 from applePrincess/exploitdb-2021-08-11
exploitdb: 2021-08-06 -> 2021-08-11
2021-08-11 20:04:34 +02:00
Kevin Cox 5059cdaa60
Merge pull request #130862 from Atemu/licenses-redistributable-attr
lib.licenses: cleanup, consistency and redistributable attribute
2021-08-11 13:48:25 -04:00
Dmitry Kalinkin 9a9056da55
Merge pull request #133491 from nagy/zathura
zathura: 0.4.7 -> 0.4.8
2021-08-11 13:47:42 -04:00
Silvan Mosberger fcbead41af
Merge pull request #133402 from Infinisil/mergeEqualOption-uncomparable
lib/options: Better mergeEqualOption error for uncomparable types
2021-08-11 19:40:08 +02:00
Lein Matsumaru 7d03ccab2e
exploitdb: 2021-08-06 -> 2021-08-11 2021-08-11 17:34:00 +00:00
Artturi db6398e1ea
Merge pull request #133368 from r-ryantm/auto-update/codeql
codeql: 2.5.8 -> 2.5.9
2021-08-11 20:17:28 +03:00
Atemu 5e2c05abc3 lib.licenses: mark a few unfree redistributable licenses as such
I'm sure there are more but it's not feasible for a single person to check all
of them
2021-08-11 19:07:47 +02:00
Atemu 16fb392853 lib.licenses: introduce redistributable attribute
Allows for distinction of licenses that are unfree overall but do grant the
right to redistribute. Defaults to the freeness of the license.

Note: Many unfree but are redistributable licenses aren't marked as such.
I expect that to be fixed in a distributed manner over time.

Closes https://github.com/NixOS/nixpkgs/pull/97789
2021-08-11 19:07:45 +02:00
Atemu 48797d7114 lib.licenses: make all licenses have free and deprecated attrs
This makes them consistent which eases more complex operations on licenses such
as filtering etc.
2021-08-11 19:07:02 +02:00
Atemu 65c605a662 lib.licenses: refactor common attribute application
This is cleaner and makes common attribute application more expandable
2021-08-11 19:06:57 +02:00
Jan Tojnar e26c0ffdb0
Merge pull request #133502 from maxeaubrey/fwupd_1.5.12
fwupd: 1.5.7 -> 1.5.12
2021-08-11 18:24:34 +02:00
Poscat 4dfa596f93
kea: 1.9.9 -> 1.9.10 2021-08-12 00:06:44 +08:00
Sandro 10bb036486
Merge pull request #132302 from sikmir/svkbd
svkbd: 0.3 → 0.4
2021-08-11 17:44:01 +02:00
Artturi 95c12ce3f7
Merge pull request #133463 from r-ryantm/auto-update/ccextractor
ccextractor: 0.91 -> 0.92
2021-08-11 18:38:17 +03:00
Sandro bba03493bb
Merge pull request #131337 from angustrau/mars-mips 2021-08-11 17:35:58 +02:00
Sandro Jäckel dcc3512bfe
dyncall: subsitute version 2021-08-11 17:27:50 +02:00
Sandro 9df2cb074d
Merge pull request #132170 from mm--/gnome-extension-rename
gnomeExtensions.system-monitor: fix system-monitor name collision
2021-08-11 16:56:57 +02:00
Maxine Aubrey 2f3e3c788e
fwupd: 1.5.7 -> 1.5.12
- https://github.com/fwupd/fwupd/releases/tag/1.5.8
- https://github.com/fwupd/fwupd/releases/tag/1.5.9
- https://github.com/fwupd/fwupd/releases/tag/1.5.10
- https://github.com/fwupd/fwupd/releases/tag/1.5.11
- https://github.com/fwupd/fwupd/releases/tag/1.5.12
2021-08-11 16:53:47 +02:00
Sandro a94bb937a2
Merge pull request #133496 from fabaff/bump-aioambient
python3Packages.aioambient: 1.2.5 -> 1.2.6
2021-08-11 16:53:29 +02:00
Sandro 46c70c7440
Merge pull request #133482 from Ma27/fix-hydra 2021-08-11 16:53:01 +02:00
Michael Raskin ea494914f0
Merge pull request #133261 from SeTSeR/master
compiler-rt: Rename `llvm` argument to `libllvm` for consistency.
2021-08-11 14:51:40 +00:00
Ash 43785aea24
foliate: add glib-networking to enable the catalog functionality (#130898)
Necessary for the catalog functionality, since that talks to the network.
2021-08-11 16:41:01 +02:00
Sandro 1b35454ac3
Merge pull request #132071 from vs49688/cyanrip 2021-08-11 16:38:23 +02:00
Sandro fa556a76c4
Merge pull request #131976 from McSinyx/brutalmaze 2021-08-11 16:33:52 +02:00
Sandro b158186ea9
Merge pull request #133492 from mweinelt/glab 2021-08-11 16:33:31 +02:00
Sandro 0f0fe74a11
Merge pull request #133457 from angustrau/translatepy 2021-08-11 16:30:55 +02:00