1
0
Fork 0
mirror of https://github.com/emacs-twist/org-babel.git synced 2024-12-15 17:50:48 +00:00
org-babel/flake.nix

17 lines
367 B
Nix
Raw Normal View History

2021-12-03 13:44:34 +00:00
{
description = "Nix library for extracting source blocks from Org";
outputs = { ... }:
let
lib = import ./nix;
in
{
inherit lib;
overlay = _: pkgs: {
tangleOrgBabelFile = name: path: options:
pkgs.writeText name
(lib.tangleOrgBabel options (builtins.readFile path));
};
};
2021-12-03 13:44:34 +00:00
}