1
0
Fork 0
mirror of https://github.com/emacs-twist/org-babel.git synced 2025-03-05 08:17:05 +00:00
org-babel/flake.nix
2022-12-01 17:40:38 +09:00

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));
};
};
}