diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4e8ae788705a..dfe84795999e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2798,7 +2798,7 @@ with pkgs; brutespray = callPackage ../tools/security/brutespray { }; - breakpointHook = assert stdenv.isLinux; + breakpointHook = assert stdenv.buildPlatform.isLinux; makeSetupHook { } ../build-support/setup-hooks/breakpoint-hook.sh; btrfs-progs = callPackage ../tools/filesystems/btrfs-progs { };