Loading pkgs/by-name/bp/bpfilter/package.nix +9 −4 Original line number Diff line number Diff line { bison, clangStdenv, cmake, cmocka, doxygen, Loading @@ -14,19 +15,19 @@ nix-update-script, pkg-config, sphinx, stdenv, tinyxxd, zlib, }: stdenv.mkDerivation (finalAttrs: { clangStdenv.mkDerivation (finalAttrs: { pname = "bpfilter"; version = "0.4.0"; version = "0.5.2"; src = fetchFromGitHub { owner = "facebook"; repo = "bpfilter"; tag = "v${finalAttrs.version}"; hash = "sha256-Z0L4sY944cj/rqfOwwjNWOU0tZDAsZ1ocf4/djHad2Q="; hash = "sha256-qL5wRm6QmfMa5L+oZc5E2kAVqvJfCt5fBxjmtWzb2kA="; }; nativeBuildInputs = [ Loading @@ -38,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: { lcov pkg-config sphinx tinyxxd # bpfilter's cmake files requires this, even if we specify the version # we're using without needing to detect the version during the build. Loading @@ -64,6 +66,9 @@ stdenv.mkDerivation (finalAttrs: { "dev" ]; # invalid with -target bpf hardeningDisable = [ "zerocallusedregs" ]; preFixup = '' substituteInPlace $out/lib/systemd/system/bpfilter.service --replace-fail /usr/sbin/bpfilter $out/bin/bpfilter Loading Loading
pkgs/by-name/bp/bpfilter/package.nix +9 −4 Original line number Diff line number Diff line { bison, clangStdenv, cmake, cmocka, doxygen, Loading @@ -14,19 +15,19 @@ nix-update-script, pkg-config, sphinx, stdenv, tinyxxd, zlib, }: stdenv.mkDerivation (finalAttrs: { clangStdenv.mkDerivation (finalAttrs: { pname = "bpfilter"; version = "0.4.0"; version = "0.5.2"; src = fetchFromGitHub { owner = "facebook"; repo = "bpfilter"; tag = "v${finalAttrs.version}"; hash = "sha256-Z0L4sY944cj/rqfOwwjNWOU0tZDAsZ1ocf4/djHad2Q="; hash = "sha256-qL5wRm6QmfMa5L+oZc5E2kAVqvJfCt5fBxjmtWzb2kA="; }; nativeBuildInputs = [ Loading @@ -38,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: { lcov pkg-config sphinx tinyxxd # bpfilter's cmake files requires this, even if we specify the version # we're using without needing to detect the version during the build. Loading @@ -64,6 +66,9 @@ stdenv.mkDerivation (finalAttrs: { "dev" ]; # invalid with -target bpf hardeningDisable = [ "zerocallusedregs" ]; preFixup = '' substituteInPlace $out/lib/systemd/system/bpfilter.service --replace-fail /usr/sbin/bpfilter $out/bin/bpfilter Loading