Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring this with Clion #23

Closed
KaiserKarel opened this issue Apr 13, 2021 · 0 comments
Closed

Configuring this with Clion #23

KaiserKarel opened this issue Apr 13, 2021 · 0 comments

Comments

@KaiserKarel
Copy link

I'm a bit of a nix noob. This is my shell config

let
  oxalica_overlay = import (builtins.fetchTarball
    "https://github.com/oxalica/rust-overlay/archive/master.tar.gz");
  nixpkgs = import <nixpkgs> { overlays = [ oxalica_overlay ]; };

in with nixpkgs;
pkgs.mkShell {
    # nativeBuildInputs is usually what you want -- plugins you need to run
    nativeBuildInputs = [
        firefox
	jetbrains.clion
        docker
        docker-compose
        openssl.dev
        gcc

        protobuf
	buf
        rustPackages.clippy
        pkg-config
    ];
}

Clion is unable to find the rust toolchain location and stdlib. If I add rustup to buildinputs, it's fine. Does adding rustup conflict with the overlay?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant