Coder Social home page Coder Social logo

Comments (3)

axelsimon avatar axelsimon commented on July 24, 2024 1

Ah ha, this happened to me using Alacritty.
Sadly, copying over the terminfo for Alacritty and importing that didn't solve it, but setting export TERM=xterm-color did.

Also tried using @cole-h's #869 and that appeared to work (at this point, Nix was already installed, so it told me to use sudo -i nix upgrade-nix instead, but it didn't crash complaining about not being able to get a terminal!).

from nix-installer.

cole-h avatar cole-h commented on July 24, 2024

It sounds like you don't have wezterm's terminfo loaded. That message is coming from here:

let mut term =
term::terminfo::TerminfoTerminal::new(stdout).ok_or(eyre!("Couldn't get terminal"))?;

Could you try out #869 and see if that works for you? You should be able to try it out with:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/pr/869 | sh -s -- install

from nix-installer.

amlanjlahkar avatar amlanjlahkar commented on July 24, 2024

I do have wezterm terminfo loaded but don't know why it's not being detected. I was using tmux previously but it didn't work even outside of tmux.
Using the fallback patch fixes the problem

from nix-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.