svc.open accepts a /nix/store folder not an outputs folder
this mostly makes things simpler
This commit is contained in:
1 parent
f22237a3b3
commit
2b0972ed73
20 files changed
+38
-19
No files matched your search
@@ -50,8 +50,7 @@
|
||||
|
||||
(fn run []
|
||||
(let [{: out-path : watched-service : path } (parse-args arg)
|
||||
dir (.. watched-service "/.outputs")
|
||||
service (assert (svc.open dir))]
|
||||
service (assert (svc.open watched-service))]
|
||||
(accumulate [tree {}
|
||||
v (service:events)]
|
||||
(write-changes out-path tree (or (service:output path) {})))))
|
||||
|
||||
Reference in new issue
Block a user