netop: move env variable(s) into env for structuredAttrs

This commit is contained in:
Stefan Frijters 2026-02-12 11:16:35 +01:00
parent 456c9c578d
commit d4e22fb203
No known key found for this signature in database
GPG key ID: 7619A6BC6E7DFA6F

View file

@ -16,8 +16,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
hash = "sha256-Rnp2VNAi8BNbKqkGFoYUb4C5db5BS1P1cqpWlroTmdQ=";
};
LIBPCAP_LIBDIR = lib.makeLibraryPath [ libpcap ];
LIBPCAP_VER = libpcap.version;
env = {
LIBPCAP_LIBDIR = lib.makeLibraryPath [ libpcap ];
LIBPCAP_VER = libpcap.version;
};
cargoHash = "sha256-WGwtRMARwRvcUflN3JYL32aib+IG1Q0j0D9BEfaiME4=";