Skip to content

NIX on SteamOS cannot set up environment properly. #13355

Open
@cammelspit

Description

@cammelspit

Describe the bug

NIX package manager refuses to work properly on SteamOS 3.7.8. Immediately after installation it did indeed work but after it working once, closing the terminal and opening it again as a sanity check, nix will no longer run even after sourcing the environment manually.

Steps To Reproduce

  1. Freshly installed SteamOS 3.7.8 from the live environment with no other modifications or software installed except for oh my ZSH and the zulu plugin manager.
  2. Install NIX package manager in multi user mode. '$ sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon' taken directly from nixos.org.
  3. close terminal and reopen to verify working nix install.

Expected behavior

Output something like this

cammelspit@archlinux ~
❯❯❯ nix --version
nix (Nix) 2.29.0

Metadata

The output I actually receive after exactly one successful test where I got an expected output.

deck@steamdeck ~
❯❯❯ nix --version
zsh: command not found: nix

Additional context

I am basically stuck here since I don't really know enough more about NIX to move forward from here. I use NIX so i can install some basic stuff and I have been using it on SteamOS since I got my Steam Deck a handful of years ago. For some reason, even though it works once, it stops and even after wiping my deck, I just seem to be unable to get it working again. I have done a good bit of faffing about with NIX on the deck over the last few years and I have never run across this issue, at least since Valve gave us /nix to use as a mount point and the official installer supported SteamOS.

Checklist


Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions