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

Merge pull request #104734 from ju1m/fix-udev

nixos/network-interfaces: fix typo in udev rule syntax
This commit is contained in:
Ryan Mulligan 2020-11-24 05:44:52 -08:00 committed by GitHub
commit 91f1d7e405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1246,7 +1246,7 @@ in
'';
# Udev attributes for systemd to name the device and to create a .device target.
systemdAttrs = n: ''NAME:="${n}", ENV{INTERFACE}:="${n}", ENV{SYSTEMD_ALIAS}:="/sys/subsystem/net/devices/${n}", TAG+="systemd"'';
systemdAttrs = n: ''NAME:="${n}", ENV{INTERFACE}="${n}", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/${n}", TAG+="systemd"'';
in
flip (concatMapStringsSep "\n") (attrNames wlanDeviceInterfaces) (device:
let