Compare commits

..

3 Commits
main ... nix

Author SHA1 Message Date
Tristan Smith
f502633090
testing commit with correct gpg key 2024-08-27 02:34:39 -04:00
Tristan Smith
4138aa7213 updated readme 2024-08-27 02:25:10 -04:00
Tristan Smith
e390c2161d nix flake? 2024-08-27 02:21:46 -04:00
2 changed files with 18 additions and 1 deletions

14
default.nix Normal file
View File

@ -0,0 +1,14 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
pkgs.gcc
pkgs.libpcap
];
# Set any environment variables if needed
shellHook = ''
echo "Environment set up for ip-reporter-c"
'';
}

View File

@ -4,4 +4,7 @@ I'm starting to look at programming languages like vehicles. The older ones are
I think this may be similar to the arguments over languages like C/C++ vs Rust and Zig.
###
I installed NixOS tonight because I have a WFH day at work tomorrow due to the heat. I've messed with Nix and building in the past and it's not gone well. Got this working it seems.
After checking out the `nix` branch, run `nix-shell` in the cloned directory and then `gcc -o ip-reporter ip-reporter.c -lpcap`. Worked great.
test trust