summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@companyzero.com>2021-01-26 09:21:02 -0500
committerJosh Rickmar <jrick@companyzero.com>2021-01-26 09:30:50 -0500
commit6198e24f021e6601a7e49e734139bd44948a1d14 (patch)
tree6305397a6401aabf09f5eb8e96cdc74656a35b2b
parent13a6565c4c5fd34c4dcaf3fc06471a49e100b8ab (diff)
downloadnixpkgs-6198e24f021e6601a7e49e734139bd44948a1d14.tar
nixpkgs-6198e24f021e6601a7e49e734139bd44948a1d14.tar.gz
nixpkgs-6198e24f021e6601a7e49e734139bd44948a1d14.tar.bz2
nixpkgs-6198e24f021e6601a7e49e734139bd44948a1d14.tar.lz
nixpkgs-6198e24f021e6601a7e49e734139bd44948a1d14.tar.xz
nixpkgs-6198e24f021e6601a7e49e734139bd44948a1d14.tar.zst
nixpkgs-6198e24f021e6601a7e49e734139bd44948a1d14.zip
oksh: add shellPath for use as user shells
This allows the user shell to be set to pkgs.oksh instead of needing
a string like "${pkgs.oksh}/bin/oksh".
-rw-r--r--pkgs/shells/oksh/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/shells/oksh/default.nix b/pkgs/shells/oksh/default.nix
index 8c2998ab54c..e0165fb3022 100644
--- a/pkgs/shells/oksh/default.nix
+++ b/pkgs/shells/oksh/default.nix
@@ -18,4 +18,8 @@ stdenv.mkDerivation rec {
     maintainers = with maintainers; [ siraben ];
     platforms = platforms.all;
   };
+
+  passthru = {
+    shellPath = "/bin/oksh";
+  };
 }