nixos-help: use writeShellScriptBin and drop custom shebang line

This commit is contained in:
Andreas Rammhold 2020-11-05 11:47:14 +01:00
parent b02719a29c
commit 3560f0d913
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86

View File

@ -40,9 +40,8 @@ let
in scrubbedEval.options; in scrubbedEval.options;
}; };
helpScript = pkgs.writeScriptBin "nixos-help" helpScript = pkgs.writeShellScriptBin "nixos-help"
'' ''
#! ${pkgs.runtimeShell} -e
# Finds first executable browser in a colon-separated list. # Finds first executable browser in a colon-separated list.
# (see how xdg-open defines BROWSER) # (see how xdg-open defines BROWSER)
browser="$( browser="$(