                      [object cfgl-package "pkg4" pkg4 nil nil nil elpa nil nil]
                      [object cfgl-package "pkg7" pkg7 nil nil nil elpa nil nil]
                      [object cfgl-package "pkg8" pkg8 nil nil nil elpa nil nil])
-                   (configuration-layer//filter-packages
+                   (configuration-layer/filter-packages
                     pkgs (lambda (x)
                            (not (eq 'local (oref x :location)))))))))
 

                     [object cfgl-package "pkg4" pkg4 nil nil nil elpa nil nil]
                     [object cfgl-package "pkg7" pkg7 nil nil nil elpa nil nil]
                     [object cfgl-package "pkg8" pkg8 nil nil nil elpa nil nil])
                   (configuration-layer//filter-packages
                    pkgs (lambda (x)
                           (not (oref x :excluded))))))))


  (let ((input `(,(cfgl-layer "layer"
                              :name 'layer
                              :dir "/a/path/"
                              :variables '(var1 'bar1 var2 'bar2 var3 'bar3)))))
    (setq var1 'foo)
    (setq var2 'foo)
