From 179b13567f0fa2f536ebbf13906b46033ac42a04 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 23 Jan 2024 17:01:38 +0100 Subject: q-power_supply: admit : in name --- pkgs/simple/q-power_supply.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3