Skip to content

Handle complex shebang patterns #12

@calops

Description

@calops

Follow-up to #9

Find a way to support arbitrarily complex ways to write shebangs. For example, this doesn't work: !#${pkgs.bash}/bin/bash. This is because the nix variable in the middle makes the shebang span multiple nodes (three in this case) instead of just one string_fragment.

Maybe perform the matching on the parent node?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions