diff --git a/pkgs/build-support/setup-hooks/breakpoint-hook.sh b/pkgs/by-name/br/breakpointHook/breakpoint-hook.sh similarity index 100% rename from pkgs/build-support/setup-hooks/breakpoint-hook.sh rename to pkgs/by-name/br/breakpointHook/breakpoint-hook.sh diff --git a/pkgs/by-name/br/breakpointHook/package.nix b/pkgs/by-name/br/breakpointHook/package.nix new file mode 100644 index 000000000000..c6c705788914 --- /dev/null +++ b/pkgs/by-name/br/breakpointHook/package.nix @@ -0,0 +1,6 @@ +{ stdenv, makeSetupHook }: + +makeSetupHook { + name = "breakpoint-hook"; + meta.broken = !stdenv.buildPlatform.isLinux; +} ./breakpoint-hook.sh diff --git a/pkgs/by-name/nu/nuv/package.nix b/pkgs/by-name/nu/nuv/package.nix index 386828568104..f4ae78469d9f 100644 --- a/pkgs/by-name/nu/nuv/package.nix +++ b/pkgs/by-name/nu/nuv/package.nix @@ -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" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9e0b945222e9..c48dd105e940 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };