From 2d6478e6a79a8d87f9fd058804b8d3583f379a19 Mon Sep 17 00:00:00 2001 From: Jordan Isaacs Date: Mon, 26 Feb 2024 00:29:26 -0800 Subject: [PATCH] tangle header --- nix/tangleOrgBabel.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/tangleOrgBabel.nix b/nix/tangleOrgBabel.nix index 340e7a5..1393c31 100644 --- a/nix/tangleOrgBabel.nix +++ b/nix/tangleOrgBabel.nix @@ -1,6 +1,7 @@ # Quick-and-dirty re-implementation of org-babel-tangle in Nix. { languages ? [ "emacs-lisp" "elisp" ] , processLines ? lines: lines +, tangleArg ? "yes" }: string: with builtins; @@ -26,7 +27,7 @@ let (attrValues (mapAttrs (name: value: if name == ":tangle" - then value == "yes" + then value == tangleArg else true ) attrs));