mirror of
https://github.com/emacs-twist/org-babel.git
synced 2024-12-14 11:07:30 +00:00
18 lines
409 B
Nix
18 lines
409 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));
|
|
};
|
|
};
|
|
};
|
|
}
|