New comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/pull/35339#issuecomment-1026673112 Comment: For some reason, I struggle to pick up this kernel in jupyterlab. I wonder if we need something similar to what Arch has ``` # fix symlinks to assets _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"` for _i in $(ls "$srcdir"/sage-$pkgver/src/sage/ext_data/notebook-ipython); do rm "$pkgdir"/usr/share/jupyter/kernels/sagemath/$_i ln -s $_pythonpath/sage/ext_data/notebook-ipython/$_i "$pkgdir"/usr/share/jupyter/kernels/sagemath/ done ``` which also matches what we were doing previosuly, as well as suggested by sage [docs](https://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation)