Browse Source

Set build-env

Joachim M. Giæver 3 years ago
parent
commit
f9b33df44d
1 changed files with 6 additions and 4 deletions
  1. 6 4
      snap/snapcraft.yaml

+ 6 - 4
snap/snapcraft.yaml

@@ -123,10 +123,12 @@ parts:
       - $zwavejs2mqtt-include
   dependencies:
     plugin: nil
-    override-pull: |
-      set -x
-      export SNAPPY_STORE_NO_CDN=1
-      snapcraftctl pull
+    build-environment:
+      SNAPPY_STORE_NO_CDN: 1
+    # override-pull: |
+    #   set -x
+    #   export SNAPPY_STORE_NO_CDN=1
+    #   snapcraftctl pull
     stage-snaps:
       - jq
       - yq