Unable to update nixpkgs netbeans to 11.3

because you never installed anything. generally you do something like:

  installPhase = ''
    mkdir -p $out/bin
    cp ./netbeans $out/bin/netbeans
  '';
failed to produce output path /nix/store/3b22ckgzlj74a073q5wmprskbvjfy04x-shell

means that the package didn’t produce anything