$ steam
cp: cannot create regular file '/home/chris/.local/share/Steam/bootstrap.tar.xz': Permission denied
Running Steam on nixos 18.03pre131308.12a88b2c518 64-bit
STEAM_RUNTIME has been set by the user to: /steamrt
Pins potentially out-of-date, rebuilding...
mkdir: cannot create directory ‘/nix/store/8k63fwbsxagp0j6wp56didl838ikrsqi-steam-fhs/steamrt/pinned_libs_32’: Read-only file system
mkdir: cannot create directory ‘/nix/store/8k63fwbsxagp0j6wp56didl838ikrsqi-steam-fhs/steamrt/pinned_libs_64’: Read-only file system
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 4.15.0, NixOS, 18.03pre131308.12a88b2c518 (Impala)`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.0`
- channels(root): `"nixos-17.09pre107265.0afb6d789c"`
- channels(chris): `"release-17.09-17.09, release-18.03-18.03pre131308.12a88b2c518, unstable, nixos-17.09-17.09.2281.b4a0c011e81"`
- nixpkgs: `/home/chris/nix/path/nixpkgs`
Somehow a reboot fixed this. I have no idea why.
I ran into a similar issue. I have steam installed from 17.09. Running steam in 18.03 gives:
cp: cannot create regular file '/home/wchresta/.local/share/Steam/bootstrap.tar.xz': Permission denied
Running Steam on nixos 18.03.132268.5f16ba8fb0f 64-bit
STEAM_RUNTIME has been set by the user to: /steamrt
/home/wchresta/.local/share/Steam/steam.sh: line 755: /home/wchresta/.local/share/Steam/ubuntu12_32/steam: No such file or directory
"x86_64-linux"Linux 4.4.131, NixOS, 18.03.132268.5f16ba8fb0f (Impala)yesyesnix-env (Nix) 2.0.1"""nixos-18.03.132336.ef74cafd3e5, nixos-unstable-18.09pre140440.e86be6919ad"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgsAnd a reboot doesn't fix it ;)
Note for the walkers: I had this issue because i had a /lib directory on the root.
fix: mv /lib to /lib2 ...
@logann2019 I love you
Most helpful comment
Note for the walkers: I had this issue because i had a /lib directory on the root.
fix: mv /lib to /lib2 ...