1
0
Fork 0
mirror of https://github.com/emacs-twist/org-babel.git synced 2024-12-14 11:07:30 +00:00
org-babel/flake.nix
2024-11-11 01:29:33 +09:00

18 lines
403 B
Nix

{
description = "Nix library for extracting source blocks from Org";
outputs = _:
let
lib = import ./nix;
in
{
inherit lib;
overlays = {
default = _: prev: {
tangleOrgBabelFile = name: path: options:
prev.writeText name
(lib.tangleOrgBabel options (builtins.readFile path));
};
};
};
}