blob: 8e9e4f58959f97a629b8fe9dea44e7eee74c834a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
version: "3"
tasks:
update-firefox-addons:
vars:
input: "{{ .ROOT_DIR }}/modules/firefox/addons.json"
output: "{{ .ROOT_DIR }}/modules/firefox/addons.nix"
sources:
- "{{ .input }}"
generates:
- "{{ .output }}"
cmds:
- nix run sourcehut:~rycee/mozilla-addons-to-nix {{ .input }} {{ .output }}
- nixfmt {{ .output }}
- nix run .#deadnix -- --edit --quiet {{ .output }}
- nixfmt {{ .output }}
|