diff --git a/pkgs/misc/drivers/hplip/default.nix b/pkgs/misc/drivers/hplip/default.nix index 35d32f863ff5..04ebb7a55ee9 100644 --- a/pkgs/misc/drivers/hplip/default.nix +++ b/pkgs/misc/drivers/hplip/default.nix @@ -38,14 +38,14 @@ let }; hplipArch = hplipPlatforms."${stdenv.system}" - or (abort "HPLIP not supported on ${stdenv.system}"); + or (throw "HPLIP not supported on ${stdenv.system}"); pluginArches = [ "x86_32" "x86_64" ]; in assert withPlugin -> builtins.elem hplipArch pluginArches - || abort "HPLIP plugin not supported on ${stdenv.system}"; + || throw "HPLIP plugin not supported on ${stdenv.system}"; stdenv.mkDerivation { inherit name src;