chore(flake): add embedme to dev shell and pre-commit hooks
Keeps README code blocks in sync with source files (config.example.toml, dist/musicfs.service) on every commit. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/claude-agent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -31,6 +31,15 @@
|
|||||||
clippy = pkgs.clippy;
|
clippy = pkgs.clippy;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
embedme = {
|
||||||
|
enable = true;
|
||||||
|
name = "embedme";
|
||||||
|
description = "Keep README code blocks in sync with source files";
|
||||||
|
entry = "${pkgs.nodePackages.embedme}/bin/embedme";
|
||||||
|
args = [ "README.md" ];
|
||||||
|
pass_filenames = false;
|
||||||
|
language = "system";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
@@ -73,6 +82,8 @@
|
|||||||
|
|
||||||
protobuf
|
protobuf
|
||||||
grpcurl
|
grpcurl
|
||||||
|
|
||||||
|
nodePackages.embedme
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user