Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonHakansson committed Feb 5, 2024
1 parent 097f4c1 commit d9843aa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ Then evaluate:
#+end_src

** TODO Melpa

See [[https://github.com/melpa/melpa/pull/8903][Pull Request #8903]].

** Straight

#+begin_src elisp
Expand All @@ -115,7 +118,7 @@ With ~emacsWithPackagesFromUsePackage~ you can do:
extraEmacsPackages = epkgs:
[(epkgs.trivialBuild rec {
pname = "org-nix-shell";
version = "v0.3.1";
version = "v0.3.2";
packageRequires = [ epkgs.envrc ];
src = pkgs.fetchFromGitHub {
owner = "AntonHakansson";
Expand Down
12 changes: 9 additions & 3 deletions org-nix-shell.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

;; Maintainer: Anton Hakansson <[email protected]>
;; URL: https://github.com/AntonHakansson/
;; Version: 0.3.1
;; Version: 0.3.2
;; Package-Requires: ((emacs "27.1") (org "9.4"))
;; Keywords: processes, outlines

Expand Down Expand Up @@ -66,6 +66,13 @@
;;
;;
;;; NEWS:
;; Version 0.3.2
;; - Support narrowed Org buffer.
;;
;; - Don't assume "/tmp/" is preferred temporary directory.
;;
;; - Fix commentary headings and docstrings.
;;
;; Version 0.3.0 (lots of breaking changes)
;; - 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.
Expand All @@ -74,7 +81,6 @@
;; - Removed `org-nix-shell-get-direnv-path', `org-nix-shell-envrc-format' and
;; `org-nix-shell-src-block-name'. Instead we tangle nix shells to \"/tmp/\"
;;
;;
;; Version 0.2.0 (lots of breaking changes)
;; - Source blocks must explicitly set ':nix-shell <named-src-block>' header argument to
;; load a nix-shell. To use a nix-shell in a specific scope you can use a header-args property like:
Expand Down Expand Up @@ -245,7 +251,7 @@ ARGS is as for ORIG."
(apply func args)))

(defun org-nix-shell--execute-src-block (orig-fun &optional arg info params executor-type)
"Execute src block with nix shell environment
"Execute src block with nix shell environment.
Intended to be used as a advice around `org-babel-execute-src-block'.
ORIG-FUN, ARG, INFO, PARAMS, EXECUTOR-TYPE are the same as for
`org-babel-execute-src-block'"
Expand Down

0 comments on commit d9843aa

Please sign in to comment.