Loading nixos/modules/services/system/bpftune.nix +4 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,9 @@ in config = lib.mkIf cfg.enable { systemd.packages = [ cfg.package ]; systemd.services.bpftune.wantedBy = [ "multi-user.target" ]; systemd.services.bpftune = { wantedBy = [ "multi-user.target" ]; path = [ pkgs.kmod ]; # bpftune calls modprobe }; }; } pkgs/by-name/bp/bpftune/package.nix +6 −9 Original line number Diff line number Diff line Loading @@ -9,18 +9,18 @@ libcap, libnl, nixosTests, unstableGitUpdater, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "bpftune"; version = "0-unstable-2025-03-20"; version = "0.4-2"; src = fetchFromGitHub { owner = "oracle"; repo = "bpftune"; rev = "8c6a3ffc09265bd44ed89b75c400ef97959d1aff"; hash = "sha256-TQ8WaGvMcvyeZC4B9gSjJ2k5NOxpTaV4n7Qi36aA78Q="; tag = finalAttrs.version; hash = "sha256-clfR2nZKB9ztfUEw+znr9/Rdefv4K+mTeRCSBLIBmVY="; }; postPatch = '' Loading @@ -30,8 +30,6 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail ldconfig true substituteInPlace src/bpftune.service \ --replace-fail /usr/sbin/bpftune "$out/bin/bpftune" substituteInPlace src/libbpftune.c \ --replace-fail /lib/modules /run/booted-system/kernel-modules/lib/modules ''; nativeBuildInputs = [ Loading @@ -56,7 +54,6 @@ stdenv.mkDerivation (finalAttrs: { ]; hardeningDisable = [ "stackprotector" "zerocallusedregs" ]; Loading @@ -64,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: { tests = { inherit (nixosTests) bpftune; }; updateScript = unstableGitUpdater { }; updateScript = nix-update-script { }; }; enableParallelBuilding = true; Loading Loading
nixos/modules/services/system/bpftune.nix +4 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,9 @@ in config = lib.mkIf cfg.enable { systemd.packages = [ cfg.package ]; systemd.services.bpftune.wantedBy = [ "multi-user.target" ]; systemd.services.bpftune = { wantedBy = [ "multi-user.target" ]; path = [ pkgs.kmod ]; # bpftune calls modprobe }; }; }
pkgs/by-name/bp/bpftune/package.nix +6 −9 Original line number Diff line number Diff line Loading @@ -9,18 +9,18 @@ libcap, libnl, nixosTests, unstableGitUpdater, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "bpftune"; version = "0-unstable-2025-03-20"; version = "0.4-2"; src = fetchFromGitHub { owner = "oracle"; repo = "bpftune"; rev = "8c6a3ffc09265bd44ed89b75c400ef97959d1aff"; hash = "sha256-TQ8WaGvMcvyeZC4B9gSjJ2k5NOxpTaV4n7Qi36aA78Q="; tag = finalAttrs.version; hash = "sha256-clfR2nZKB9ztfUEw+znr9/Rdefv4K+mTeRCSBLIBmVY="; }; postPatch = '' Loading @@ -30,8 +30,6 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail ldconfig true substituteInPlace src/bpftune.service \ --replace-fail /usr/sbin/bpftune "$out/bin/bpftune" substituteInPlace src/libbpftune.c \ --replace-fail /lib/modules /run/booted-system/kernel-modules/lib/modules ''; nativeBuildInputs = [ Loading @@ -56,7 +54,6 @@ stdenv.mkDerivation (finalAttrs: { ]; hardeningDisable = [ "stackprotector" "zerocallusedregs" ]; Loading @@ -64,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: { tests = { inherit (nixosTests) bpftune; }; updateScript = unstableGitUpdater { }; updateScript = nix-update-script { }; }; enableParallelBuilding = true; Loading