-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add derivation to build lightswitch with nix
As well as a container image. This is mostly experimental and won't be adding CI for it as of now. Also add a rust-gdb env variable to use the nix provided gdb binary rather than the system's as this might happen when running under the root user. Test Plan ========= CI to ensure nothing is broken and ``` (nix:nix-shell-env) [javierhonduco@fedora lightswitch]$ nix build .#container (nix:nix-shell-env) [javierhonduco@fedora lightswitch]$ docker load < result (nix:nix-shell-env) [javierhonduco@fedora lightswitch]$ docker run -it --privileged --pid host -v /sys/:/sys/ lightswitch:xq7qmc7br6nxn5gd5064z4mns96q4kjf ```
- Loading branch information
1 parent
07677fb
commit 735d3dd
Showing
3 changed files
with
63 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
flame.svg | ||
src/bpf/*_skel.rs | ||
.vmtest.log | ||
/result |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters