Skip to content

mkdir $TMP missing operand #586

@kunfundere

Description

@kunfundere

Hello,

I followed the guide for configuring IDE and the guide for installing rix on Linux/Windows.
I am using VSCode on Windows and I am remote connecting to WSL2.

The configuration went mostly well as VSCode recognized the correct R binary (4.4.0) if I open a Rscript and I get no warnings from the R extension.

But there's a minor hiccup where I'm getting this output


direnv: loading ~/test-r/.envrc
direnv: using nix
mkdir: missing operand
Try 'mkdir --help' for more information.
direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +HOST_PATH +IN_NIX_SHELL +LC_ALL +LC_MEASUREMENT +LC_MONETARY +LC_PAPER +LC_TIME +LD +LOCALE_ARCHIVE +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_BUILD_CORES +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_LDFLAGS +NIX_STORE +NM +OBJCOPY +OBJDUMP +RANLIB +READELF +R_LIBS_SITE +SIZE +SOURCE_DATE_EPOCH +STRINGS +STRIP +__structuredAttrs +buildInputs +buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated +depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +mesonFlags +name +nativeBuildInputs +out +outputs +patches +phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~LANG ~PATH ~XDG_DATA_DIRS

And I followed the guide to create the .envrc which is

use nix
mkdir $TMP

I'm using this direnv extension
I'll be happy to provide any more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions