Releases: AntonHakansson/org-nix-shell
v0.3.1
What's Changed
-
Dropped dependency on envrc package. Instead we get the shell environment from
nix-shell using direnv's dump command. No more out-of-tree directory with .envrc.
This gives us a noticeable performance win. -
Removed
org-nix-shell-get-direnv-path
,org-nix-shell-envrc-format
and
org-nix-shell-src-block-name
. Instead we tangle nix shells directly to "/tmp/" -
Linter and documentation by @AntonHakansson in #4
Full Changelog: v0.2.0...v0.3.1
v0.2.0
Version 0.2.0 (lots of breaking changes)
-
Source blocks must explicitly set ':nix-shell ' header argument to
load a nix-shell. To use a nix-shell in a specific scope you can use a header-args property like:#+PROPERTY: header-args: :nix-shell "nix-shell" (applies globally)
or in a property drawer like: (applies in subtree)
* Org Header :PROPERTIES: :header-args: :nix-shell "nix-shell" :END:
A global header-arg will mimic the old behavior but remember to set :nix-shell to nil
if your source block should not depend on a nix shell and you care about portability
or performance. -
Multiple nix-shells support. See above.
-
Org export integration.
-
These improvements were possible thanks to a big redesign in how this package works.
Previously we relied on hooks for evaluating a src block but now we use an "advice"
around `org-babel-execute-src-block' that is more robust.
Full Changelog: v0.1.4...v0.2.0
v0.1.4
v0.1.3
v0.1.2
Version 0.1.2
- Introduced `org-nix-shell-dired' that opens the direnv directory with dired.
- Fixed `org-nix-shell-ctrl-c-ctrl-c' to never block babel execution.
- Updated docs.
v0.1.1
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Full Changelog: https://github.com/AntonHakansson/org-nix-shell/commits/v0.1.0