Skip to content

"$HIE_BIOS_OUTPUT" No such file or directory #2923

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Anatolay opened this issue May 23, 2022 · 1 comment
Closed

"$HIE_BIOS_OUTPUT" No such file or directory #2923

Anatolay opened this issue May 23, 2022 · 1 comment
Labels
status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@Anatolay
Copy link

Anatolay commented May 23, 2022

Your environment

Ubuntu 22.04

VScode, haskell plugin v2.2.0

haskell-language-server is installed via ghcup

Stack-based project, multiple executables, enabled docker in stack.yaml
hie.yaml is present, the project builds, both stack build and stack repl work

Expected behaviour

Hls works (either via vscode extension or when run directly from cli)

Actual behaviour

In hls logs, there is the following error:
INFO hie-bios: /home/nihon/.cache/hie-bios/wrapper-13a09b18ea883dd377d59db5e821a86b: line 4: : No such file or directory

The contents of wrapper-13a09b18ea883dd377d59db5e821a86b are

#!/usr/bin/env bash

function out(){
  echo "$1" >> "$HIE_BIOS_OUTPUT"
}

if [ "$1" == "--interactive" ]; then
  out "$(pwd)"
  for arg in "$@"; do
    out "$arg"
  done
else
  "${HIE_BIOS_GHC:-ghc}" "${HIE_BIOS_GHC_ARGS}" "$@"
fi

Seems that no "HIE_*" env variables are present
I tried setting the output one for line 4 myself just to make sure, but it resulted in the same error

Also tried downgrading the extension to version 1.6.1 and checked that both the project and hls are build with GHC 8.10.7

@Anatolay Anatolay added status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. labels May 23, 2022
@Anatolay
Copy link
Author

Ah, it appears to be a duplicate of #1561

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

1 participant