dsniff: fix build

libnet was split into multiple outputs
This commit is contained in:
Robert Schütz
2025-12-07 21:20:54 -08:00
parent b1dffd262e
commit 41e32d68e0
+6 -2
View File
@@ -53,9 +53,13 @@ let
done
'';
};
libnet' = libnet.overrideAttrs { dontDisableStatic = true; };
net = symlinkJoin {
inherit (libnet) name;
paths = [ (libnet.overrideAttrs { dontDisableStatic = true; }) ];
inherit (libnet') name;
paths = [
(lib.getLib libnet')
(lib.getDev libnet')
];
postBuild = ''
# prevent dynamic linking, now that we have a static library
rm $out/lib/*.so*