Replace usage of literalExample
Instead use the new function `literalExpression`. See https://github.com/NixOS/nixpkgs/pull/136909
This commit is contained in:
parent
468c461139
commit
bd11e2c5e6
148 changed files with 335 additions and 335 deletions
|
|
@ -8,7 +8,7 @@ let
|
|||
|
||||
defaultHieNixExe = hie-nix.hies + "/bin/hie-wrapper";
|
||||
defaultHieNixExeText =
|
||||
literalExample ''"''${pkgs.hie-nix.hies}/bin/hie-wrapper"'';
|
||||
literalExpression ''"''${pkgs.hie-nix.hies}/bin/hie-wrapper"'';
|
||||
|
||||
hie-nix = pkgs.hie-nix or (abort ''
|
||||
vscode.haskell: pkgs.hie-nix missing. Please add an overlay such as:
|
||||
|
|
@ -42,7 +42,7 @@ in {
|
|||
overlay or set this option. Example overlay configuration:
|
||||
<programlisting language="nix">${exampleOverlay}</programlisting>
|
||||
'';
|
||||
example = literalExample ''
|
||||
example = literalExpression ''
|
||||
(import ~/src/haskell-ide-engine {}).hies + "/bin/hie-wrapper";
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue