Help on using sage on macOS

Is it even possible to do this? It is marked as not being available on the host platform but I am trying

nix-shell --system x86_64-darwin

with shell.nix of

{ nixpkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixpkgs-23.05-darwin.tar.gz")
  {
    config.allowBroken = true;
    config.allowUnsupportedSystem = true;
    overlays = [ ];
  }
}:

let pkgs = nixpkgs;

in

pkgs.stdenv.mkDerivation {
 name = "python-devel";

  buildInputs = [
    pkgs.sage
  ];

}