svc.open accepts a /nix/store folder not an outputs folder
this mostly makes things simpler
This commit is contained in:
@@ -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