Skip to content

Commit

Permalink
better quotation structure for linux example
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbarter committed Oct 29, 2022
1 parent 5ec0c2a commit e78d9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ https://user-images.githubusercontent.com/8081722/192353380-5c417134-1cf5-4f60-9
Mini compile commands can be used to generate a `compile_commands.json` for the linux kernel:

```
nix-shell -E "with (import <nixpkgs> {}); let mini-compile-commands = callPackage <this_repo> {}; in linux.override { stdenv = (mini-compile-commands.wrap stdenv); }"
nix-shell -E 'with (import <nixpkgs> {}); let mini-compile-commands = callPackage <this_repo> {}; in linux.override { stdenv = (mini-compile-commands.wrap stdenv); }'
```

As demonstrated in the above video, create two shells. In one, run `mini_compile_commands_server.py compile_commands.json` and in the other, run your build command.

0 comments on commit e78d9ef

Please sign in to comment.