Unverified Commit 995ed90d authored by Ritiek Malhotra's avatar Ritiek Malhotra
Browse files

rustlings: add gcc to PATH

fixes the following traceback when compiling an exercise:

```bash
$ rustlings run
error: linker `cc` not found
  |
  = note: No such file or directory (os error 2)

error: could not compile `exercises` (bin "variables1") due to 1 previous error
```
parent 9c7b54f0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  cargo,
  rustc,
  clippy,
  gcc,
  makeWrapper,
}:
let
@@ -47,6 +48,7 @@ rustPlatform.buildRustPackage {
        cargo
        rustc
        clippy
        gcc
      ]
    }
  '';