We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Nix files (.nix) in Nixpkgs that start with a shebang (#!) line must have the executable permission bit set. These files are expected to be scripts.
.nix
#!
{relative_path}: Nix files with a shebang (`#!`) line must be executable.
If pkgs/by-name/fo/foo/package.nix begins with #! but does not have its executable bit set:
pkgs/by-name/fo/foo/package.nix
pkgs/by-name/fo/foo/package.nix: Nix files with a shebang (`#!`) line must be executable.
If the file is intended to be a standalone script, add the executable bit to the file:
chmod +x pkgs/by-name/fo/foo/package.nix
Or, if the file is intended to be a standalone script, remove the shebang line, e.g.:
- #!/usr/bin/env nix-shell