breakpointHook: move to by-name (#338497)

This commit is contained in:
Jörg Thalheim 2024-08-31 07:01:11 +02:00 committed by GitHub
commit e6c09b2d57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View File

@ -0,0 +1,6 @@
{ stdenv, makeSetupHook }:
makeSetupHook {
name = "breakpoint-hook";
meta.broken = !stdenv.buildPlatform.isLinux;
} ./breakpoint-hook.sh

View File

@ -4,7 +4,6 @@
, fetchFromGitHub
, buildGoModule
, makeWrapper
, breakpointHook
, jq
, curl
, kubectl
@ -32,7 +31,7 @@ buildGoModule {
subPackages = [ "." ];
vendorHash = "sha256-JkQbQ2NEaumXbAfsv0fNiQf/EwMs3SDLHvu7c/bU7fU=";
nativeBuildInputs = [ makeWrapper jq curl breakpointHook ];
nativeBuildInputs = [ makeWrapper jq curl ];
ldflags = [
"-s"

View File

@ -4261,11 +4261,6 @@ with pkgs;
brutespray = callPackage ../tools/security/brutespray { };
breakpointHook = assert stdenv.buildPlatform.isLinux;
makeSetupHook {
name = "breakpoint-hook";
} ../build-support/setup-hooks/breakpoint-hook.sh;
btrfs-progs = callPackage ../tools/filesystems/btrfs-progs { };
btrfs-snap = callPackage ../tools/filesystems/btrfs-snap { };