Week 49 of 2024
Development log of Tad Notes
Upgrade Nix dependencies
On by
index c17601f..214b7e1 100644
--- a/flake.lock
+++ b/flake.lock
@@ -5,29 +5,11 @@
= "systems": "systems"
= },
= "locked": {
- "lastModified": 1701680307,
- "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
+ "lastModified": 1731533236,
+ "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
= "owner": "numtide",
= "repo": "flake-utils",
- "rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
- "type": "github"
- },
- "original": {
- "owner": "numtide",
- "repo": "flake-utils",
- "type": "github"
- }
- },
- "flake-utils_2": {
- "inputs": {
- "systems": "systems_2"
- },
- "locked": {
- "lastModified": 1681202837,
- "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
- "owner": "numtide",
- "repo": "flake-utils",
- "rev": "cfacdce06f30d2b68473a46042957675eebb3401",
+ "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
= "type": "github"
= },
= "original": {
@@ -38,11 +20,11 @@
= },
= "nixpkgs": {
= "locked": {
- "lastModified": 1705133751,
- "narHash": "sha256-rCIsyE80jgiOU78gCWN3A0wE0tR2GI5nH6MlS+HaaSQ=",
+ "lastModified": 1733212471,
+ "narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
= "owner": "NixOS",
= "repo": "nixpkgs",
- "rev": "9b19f5e77dd906cb52dade0b7bd280339d2a1f3d",
+ "rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
= "type": "github"
= },
= "original": {
@@ -54,11 +36,11 @@
= },
= "nixpkgs_2": {
= "locked": {
- "lastModified": 1681358109,
- "narHash": "sha256-eKyxW4OohHQx9Urxi7TQlFBTDWII+F+x2hklDOQPB50=",
+ "lastModified": 1728538411,
+ "narHash": "sha256-f0SBJz1eZ2yOuKUr5CA9BHULGXVSn6miBuUWdTyhUhU=",
= "owner": "NixOS",
= "repo": "nixpkgs",
- "rev": "96ba1c52e54e74c3197f4d43026b3f3d92e83ff9",
+ "rev": "b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221",
= "type": "github"
= },
= "original": {
@@ -77,15 +59,14 @@
= },
= "rust-overlay": {
= "inputs": {
- "flake-utils": "flake-utils_2",
= "nixpkgs": "nixpkgs_2"
= },
= "locked": {
- "lastModified": 1705198720,
- "narHash": "sha256-/pzqqQQ1aU4llyaCDVjhPjQWIWpcRxFCsiDzl0lcAIk=",
+ "lastModified": 1733366051,
+ "narHash": "sha256-Zlas3LFqrW8bVVrZYgkzS4VNkZgtZ/hsbYhO0GtKLys=",
= "owner": "oxalica",
= "repo": "rust-overlay",
- "rev": "71d1d01578272b2294f6993b1860dfb22e4baac3",
+ "rev": "ba5ed0362eaae83fe8925a2d5cfcf356ff22f70f",
= "type": "github"
= },
= "original": {
@@ -108,21 +89,6 @@
= "repo": "default",
= "type": "github"
= }
- },
- "systems_2": {
- "locked": {
- "lastModified": 1681028828,
- "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
- "owner": "nix-systems",
- "repo": "default",
- "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
- "type": "github"
- },
- "original": {
- "owner": "nix-systems",
- "repo": "default",
- "type": "github"
- }
= }
= },
= "root": "root",Implement develop/export Make goal using cargo watch
On by
index 20cb8ee..aebe857 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,14 @@ develop: import list export
=.PHONY: develop
=
=
+develop/export: ## Watch and run export on every change
+develop/export: notes ?= notes
+develop/export: exported ?= exported
+develop/export: log-level ?= info
+develop/export:
+ RUST_LOG=$(log-level) cargo watch --exec "run export $(notes) $(exported)"
+.PHONY: develop/export
+
=import: ## Try importing the notes from an IMAP server
=import: notes ?= notes
=import:index d804291..2cd3bf9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -28,6 +28,7 @@
= gzip
= lld
= rustPlatform.bindgenHook
+ cargo-watch
= ];
= in
= {