about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--wyze.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/wyze.nix b/wyze.nix
index 7726f8b..584122d 100644
--- a/wyze.nix
+++ b/wyze.nix
@@ -19,16 +19,18 @@ pkgs.stdenv.mkDerivation {
   unpackPhase = if
     pkgs.lib.hasPrefix "wco_cam_sd" attrs.version
     || pkgs.lib.hasPrefix "wco_cam_v2_sd" attrs.version
+    || pkgs.lib.hasPrefix "wco_station_sd_" attrs.version
   then ''
     unzip -d $out $src
   '' else ''
     unzip -d $out $src
-    gzip -d $out/*.tar.gz || true
+    gzip -d $out/*.tar.gz
   '';
 
   buildPhase = if
     pkgs.lib.hasPrefix "wco_cam_sd" attrs.version
     || pkgs.lib.hasPrefix "wco_cam_v2_sd" attrs.version
+    || pkgs.lib.hasPrefix "wco_station_sd_" attrs.version
   then ''
     ls -l $out/sd_update
     ls -1 $out/sd_update| xargs -I {} file $out/sd_update/{} > $out/info.txt