nixos-help: use writeShellScriptBin and drop custom shebang line
This commit is contained in:
parent
b02719a29c
commit
3560f0d913
@ -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="$(
|
||||||
|
Loading…
Reference in New Issue
Block a user