summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkgs/simple/q-power_supply.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/simple/q-power_supply.nix b/pkgs/simple/q-power_supply.nix
index b7e5aaa..314bf8f 100644
--- a/pkgs/simple/q-power_supply.nix
+++ b/pkgs/simple/q-power_supply.nix
@@ -5,7 +5,7 @@ writeDashBin "q-power_supply" ''
set -efu
uevent=$1
eval "$(${gnused}/bin/sed -n '
- s/^\([A-Z_]\+=[0-9A-Za-z_-]*\)$/export \1/p
+ s/^\([A-Z_]\+=[0-9A-Za-z:_-]*\)$/export \1/p
' $uevent)"
case $POWER_SUPPLY_TYPE in
Battery)