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

Merge pull request #3 from emacs-twist/nix-api

Update on the Nix API
This commit is contained in:
Akira Komamura 2022-12-02 13:06:25 +09:00 committed by GitHub
commit d4a61af7ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,10 +7,12 @@
in
{
inherit lib;
overlay = _: pkgs: {
tangleOrgBabelFile = name: path: options:
pkgs.writeText name
(lib.tangleOrgBabel options (builtins.readFile path));
overlays = {
default = _: prev: {
tangleOrgBabelFile = name: path: options:
prev.writeText name
(lib.tangleOrgBabel options (builtins.readFile path));
};
};
};
}