diff --git a/Cargo.lock b/Cargo.lock index 8236eea..9aa0aa9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -257,6 +257,23 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +[[package]] +name = "mdns-relay" +version = "0.1.0" +dependencies = [ + "clap", + "color-eyre", + "pnet", + "regex", + "serde", + "serde_json", + "serde_regex", + "simple-dns", + "socket2", + "tracing", + "tracing-subscriber", +] + [[package]] name = "memchr" version = "2.7.4" @@ -459,23 +476,6 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" -[[package]] -name = "rust" -version = "0.1.0" -dependencies = [ - "clap", - "color-eyre", - "pnet", - "regex", - "serde", - "serde_json", - "serde_regex", - "simple-dns", - "socket2", - "tracing", - "tracing-subscriber", -] - [[package]] name = "rustc-demangle" version = "0.1.24" diff --git a/Cargo.toml b/Cargo.toml index bca1236..b95350a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "rust" +name = "mdns-relay" version = "0.1.0" edition = "2021" diff --git a/flake.nix b/flake.nix index f2a499a..a2efa44 100644 --- a/flake.nix +++ b/flake.nix @@ -80,20 +80,14 @@ path = ./.; numtideDevshell = "default"; }; - nci.crates.mdns-relay = rec { - #runtimeLibs = with pkgs; [ - #]; + nci.crates.mdns-relay = { depsDrvConfig = { mkDerivation = { nativeBuildInputs = [ pkgs.pkg-config ]; - buildInputs = with pkgs; [ - alsa-lib - ]; }; }; drvConfig = { mkDerivation = { - inherit (depsDrvConfig.mkDerivation) buildInputs; nativeBuildInputs = [ pkgs.pkg-config ]; }; };