Closed afrubin closed 3 years ago
Could probably be fixed via: #54525
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Resolved by #74381.
Issue description
rstudio
won't open correctly when built usingnix-shell
as part ofpkgs.rstudioWrapper.override
on the master branch.Starting
rstudio
returns the following error:However, when the same
.nix
file is passed tonix-build
, the application starts as expected.It appears that when built with
nix-shell
, the environment variables are not being set correctly:But they are being set correctly when built with
nix-build
:According to the Nixpkgs documentation, using
nix-shell
with therstudioWrapper
should work correctly.Using the stable version of Nixpkgs, both
nix-shell
andnix-build
allow RStudio to start correctly.Steps to reproduce
Use the example
shell.nix
from the Nixpkgs RStudio documentation withnix-shell
on the master branch of Nixpkgs:Technical details
"x86_64-linux"
Linux 4.14.94, NixOS, 18.09.1972.5d9024da9b9 (Jellyfish)
yes
yes
nix-env (Nix) 2.1.3
/nix/var/nix/profiles/per-user/root/channels/nixos