add flake.nix: package diwan as a proper nix derivation
Bundles PROTOCOL.md/TICK.md/DO.md alongside the diwan script under share/diwan/, wraps python3 with DIWAN_DIR set explicitly to that directory and git on PATH. Verified live: built with 'nix build', ran 'result/bin/diwan tick' against diwan-dev-notes, dispatched a real pi tick agent successfully end to end.
This commit is contained in:
1 parent
b9d1f96563
commit
de1576af0a
2 files changed
+75
No files matched your search
Generated
+27
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1793865203,
|
||||
"narHash": "sha256-/cpdPHaySDIyCgZI6EWngiM6jK3YLUNzv1b7lTzy6Bk=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c56a87d8e41ce69bd2af57eb35dcc117a9dfca33",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-26.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
Reference in new issue
Block a user