Skip to content

Use of backticks in description breaks build #28

@srid

Description

@srid

When description contains backticks:

{
  description = "Foo `bar` qux";
}

we see:

error: builder for '/nix/store/bhr9lfplzh0352yh4n6gnxdbjqbba7wh--.drv' failed with exit code 1;
       last 7 log lines:
       >
       > In /nix/store/lcd5hrlm9vl4l8j15kqazr5xqm0di25p--/bin/, line 10:
       >   echo -e '## Backend';echo;echo '  , backend-ghcid : Compile the given local package using ghcid.
       >                                  ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
       >
       > For more information:
       >   https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl...
       For full logs, run 'nix log /nix/store/bhr9lfplzh0352yh4n6gnxdbjqbba7wh--.drv'.
error: 1 dependencies of derivation '/nix/store/0rj05a1mlisffwyn649j17sri7bhnz3r-ghc-shell-for-packages-0-env.drv' failed to build

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions