mirror of
https://github.com/emacs-twist/org-babel.git
synced 2025-03-05 08:17:05 +00:00
16 lines
367 B
Nix
16 lines
367 B
Nix
{
|
|
description = "Nix library for extracting source blocks from Org";
|
|
|
|
outputs = { ... }:
|
|
let
|
|
lib = import ./nix;
|
|
in
|
|
{
|
|
inherit lib;
|
|
overlay = _: prev: {
|
|
tangleOrgBabelFile = name: path: options:
|
|
prev.writeText name
|
|
(lib.tangleOrgBabel options (builtins.readFile path));
|
|
};
|
|
};
|
|
}
|