Skip to content

Find cmake in /bin instead of /nix #100

@razeh

Description

@razeh

Describe the bug

I’ve got a C++ project using cmake inside of a nix-shell.

When I try to build from cmake inside of visual code it finds the cmake from /bin, which doesn’t work out very well.

I’d appreciate knowing if this should work or not.

Expected behavior
I was hoping cmake would find cmake from nix.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • OS: rocky linux 8.6
  • visual code 1.99.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions