From 6198e24f021e6601a7e49e734139bd44948a1d14 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 26 Jan 2021 09:21:02 -0500 Subject: [PATCH] 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". --- pkgs/shells/oksh/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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"; + }; }