Skip to content

Releases: AntonHakansson/org-nix-shell

v0.3.1

28 Jan 20:07
Compare
Choose a tag to compare

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

25 Jan 23:26
Compare
Choose a tag to compare

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

25 Jan 12:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.3...v0.1.4

v0.1.3

24 Jan 11:42
Compare
Choose a tag to compare
v0.1.3 Pre-release
Pre-release

What's Changed

Full Changelog: v0.1.2...v0.1.3

v0.1.2

23 Jan 12:09
Compare
Choose a tag to compare
v0.1.2 Pre-release
Pre-release

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

22 Jan 22:53
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

Full Changelog: v0.1.0...v0.1.1

v0.1.0

22 Jan 16:27
Compare
Choose a tag to compare