From aa350a6a5c2be602d31018c34bd2a3fc581c8efd Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 20 Dec 2020 20:08:31 -0500 Subject: [PATCH] bin/hey: add {sh,repl} commands --- bin/hey | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/hey b/bin/hey index 5b3af40c..92181d9c 100755 --- a/bin/hey +++ b/bin/hey @@ -130,9 +130,8 @@ function main { cmd="$1" [[ $# > 0 ]] && shift case "$cmd" in - # TODO Repl/shell for nixos+dotfiles - # sh|shell) _do nix-shell "$@" ;; - # repl) _do nix develop "$@" ;; + sh|shell) _do nix develop "$DOTFILES" "$@" ;; + repl) _do nix repl "$DOTFILES/flake.nix" "" "$@" ;; ch|check) _do nix flake check "$@" "$DOTFILES";; sh|show) _do nix flake show "$@" "$DOTFILES" ;;