!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

880 Members
Declaratively manage your switching, routing, wireless, tunneling and more. | Don't rely on `networking.*` for interface and routing setup, use systemd-networkd, ifstate or NetworkManager instead. | Set `SYSTEMD_LOG_LEVEL=debug` to debug networking issues with networkd | No bad nft puns, please. | Room recommendations: #sysops:nixos.org251 Servers

Load older messages


SenderMessageTime
29 Jul 2025
@emilazy:matrix.orgemilyI mean I guess it's just a protocol…14:40:27
@emilazy:matrix.orgemilynothing's stopping you14:40:30
@emilazy:matrix.orgemilyif you're nuts14:40:32
@emilazy:matrix.orgemilyI bet some HPC cluster is doing crimes like that14:40:48
@sandro:supersandro.deSandro 🐧but do you then want to run the normal ifstate also with python3Minimal? You kinda want to do that as otherwise you have bugs that only exist in initrd and then we have a random application in userland running python3Minimal which we don't really want to 😅14:40:52
@emilazy:matrix.orgemilyit's like the management port on DSA switches!14:40:56
@hexa:lossy.networkhexa (clat on linux when)as long as it doesn't require any features not covered by it, why not14:41:13
@emilazy:matrix.orgemily stage 1 environment is already moderately different tbf, but yeah I'm not sure. I wouldn't be super mad about python3Minimal in stage 2 for something core like this 14:41:22
@hexa:lossy.networkhexa (clat on linux when)the use case of having it in initrd makes it preferable14:41:25
@emilazy:matrix.orgemilyI mean really the answer is don't use Python for this layer of the stack14:41:28
@emilazy:matrix.orgemilybut sounds like upstream already knows/is working on that14:41:32
@sandro:supersandro.deSandro 🐧python has nothing for such inbuilt things, so we also need to run all tests and everything with python3Minimal as otherwise we might sneak some bug by14:41:45
@emilazy:matrix.orgemilyI'm also fine with just having huge initrds if it's not a problem for people14:41:49
@emilazy:matrix.orgemilybut it does make it less appealing I think14:42:13
@hexa:lossy.networkhexa (clat on linux when)170 vs 67 MiB14:42:23
@hexa:lossy.networkhexa (clat on linux when)* 171 vs 67 MiB14:42:34
@emilazy:matrix.orgemilyhuh minimal is still that big?14:42:44
@hexa:lossy.networkhexa (clat on linux when)on master14:42:51
@marcel:envs.netMarcel
In reply to @emilazy:matrix.org
but sounds like upstream already knows/is working on that
Yeah I've already suggested that I'll start working on it. But he wants to do it himself, but between 40h work there is only so much time
14:42:55
@hexa:lossy.networkhexa (clat on linux when)and before compression14:43:06
@sandro:supersandro.deSandro 🐧
 ➜ command nix-shell -p "python3Minimal.withPackages(ps : with ps; [ jsonschema pyroute2 pyyaml setproctitle ])"
unpacking 'https://github.com/SuperSandro2000/nixpkgs/archive/nixos-unstable.tar.gz' into the Git cache...
these 102 derivations will be built:
  /nix/store/360br147q16qx2z682f9l70a8awpy2vb-wrap-python-hook.drv
  /nix/store/3ab0x57snwzq8ynh5g995lbj1iqcimpg-python-catch-conflicts-hook.drv
  /nix/store/3ia10cxslfs0dnyv81slpy35l7ximrlm-python3.13-bootstrap-flit-core-3.12.0.drv
  /nix/store/lzdqnxi3n0vp1b6fy5lbwlbili4pybbm-python3.13-bootstrap-installer-0.7.0.drv
  /nix/store/6s0wga19czpsqvzjs07dx2f53hrxcbsn-python3.13-bootstrap-tomli-2.2.1.drv
  /nix/store/fycn3n4hb5qab5xpn8iacm6wnzrqgkv2-python3.13-bootstrap-pyproject-hooks-1.2.0.drv
  /nix/store/mmmi8jm117wj9sj3hbkldkddcr6kz4sn-python3.13-bootstrap-packaging-25.0.drv
  /nix/store/69h6khdidhli6r33m61dgsmvamqglr03-python3.13-bootstrap-build-1.2.2.post1.drv
  /nix/store/25i9vfk0vl2plplh2dgjdsi21p7n1417-pypa-build-hook.sh.drv
  /nix/store/2nhals8gpzxlwfz1w4h74nfiwyrr3aid-pypa-install-hook.drv
  /nix/store/3dajgrq6mq1kqr4r4iwmm9yighk5a072-python3.13-bootstrap-packaging-25.0.drv
  /nix/store/hqpspynn8mx101allg1pbk3631fzy6bj-python-runtime-deps-check-hook.sh.drv
  /nix/store/xbjz3p51cdlh9arblv1nngi3bs62rjwx-python-imports-check-hook.sh.drv
  /nix/store/hbwlxmpga35szfgn13asm05v1qfw946x-python3.13-flit-core-3.12.0.drv
  /nix/store/k9aiqj2n06s84ckyn9qgk4vvxbvwskpa-python3.13-installer-0.7.0.drv
  /nix/store/pcvpizzmb6lmnihyi5rfh585vanqdkb1-pypa-install-hook.drv
  /nix/store/g6i34qgpps97wbmxjzid0nhyx308s9x9-python3.13-pyproject-hooks-1.2.0.drv
  /nix/store/gqsxww79hpj6z8rylnz53wpjc0lvzkh0-python3.13-packaging-25.0.drv
  /nix/store/5dqj3131qj1y0p22chv51kzhai6j1bif-python3.13-build-1.2.2.post1.drv
  /nix/store/vcbizp7ds815n6xx6ngjd8p39nw4mrf5-python3.13-wheel-0.46.1.drv
  /nix/store/q196yw1cfahyqmgfzyfdwsgv835pvyas-pypa-build-hook.sh.drv
  /nix/store/vy0r6bl5b17bx9mawf13cz9ny4zgzcxr-python-runtime-deps-check-hook.sh.drv
  /nix/store/b5hf5qsh3vgkkzdhxzhnks353zy62vy0-python3.13-setuptools-80.7.1.drv
  /nix/store/ah298q3d5qb7hfz2syaaska2nbzyzs1l-python3.13-editables-0.5.drv
  /nix/store/y2hzk8y835k0glwxggmdxkyqhlfmiw9l-python3.13-calver-2025.04.17.drv
  /nix/store/nifapj3l1xp3rv9hgykz9nimkb3lvi8y-python3.13-trove-classifiers-2025.5.9.12.drv
  /nix/store/vr9cf2rh791f5hsvv9j9ab3rj3ilgsf0-python3.13-typing-extensions-4.13.2.drv
  /nix/store/c9x7vcd6c83chxdj7gccciskq3hys6nx-python3.13-setuptools-scm-8.3.1.drv
  /nix/store/ryb4wl613rccl6xqxr5rnpgdpjar11zq-python3.13-pluggy-1.6.0.drv
  /nix/store/g1385366vg9wnwfvkkixm72c1fmamd9b-unittest-check-hook.drv
  /nix/store/xri9jilh9jkiz4izrs1m41is934y1imk-python3.13-pathspec-0.12.1.drv
  /nix/store/dx4v5rm1cap3jnh1k94rg9i28whcaspa-python3.13-hatchling-1.27.0.drv
  /nix/store/bg7qypn06ibrk6k2f649knn8f8y6hy2y-python3.13-iniconfig-2.1.0.drv
  /nix/store/dkjmqp5cv8c9spdws8c0asfzq75mgqcg-python3.13-pytest-8.3.5.drv
  /nix/store/152zq6ncf1dz5bac4l5dnqfny0graqjm-pytest-check-hook.drv
  /nix/store/0200x7ac4rsc78fmqm7phi31mf8k6765-python3.13-psutil-7.0.0.drv
  /nix/store/kyf6x907mhkmk0md4wlq96vphl5zrhyq-python3.13-pycparser-2.22.drv
  /nix/store/9zpk8vyjlyh81nbzwl9hghjgxdngg927-python3.13-cffi-1.17.1.drv
  /nix/store/c700zr3jz5w46978siw6gvjjm4xdwxzc-python3.13-cython-3.0.12.drv
  /nix/store/hhic2r79v72gh2m3r99r4sk7vnvk6fpd-python3.13-zope-event-5.0.drv
  /nix/store/kkvwi1z8qvilp3rfp3ygakx6pwqnyhpj-python3.13-greenlet-3.2.2.drv
  /nix/store/v3kjapxg2bk5d1g72aqqpr27vy46qv3j-python3.13-zope-interface-7.2.drv
  /nix/store/ady7svpj5gyq8mkkspd5h1jjdwgdwfpb-python3.13-zipp-3.21.0.drv
  /nix/store/2y2ypgi1i67afw0d087xc915cysmbn51-setuptools-build-hook.drv
  /nix/store/jv5kcjjlicylx5k6svjqldh07fckdjdw-python3.13-toml-0.10.2.drv
  /nix/store/yjiv07cxglxlkhgypqlzj4nd008m6f63-python3.13-importlib-metadata-8.7.0.drv
  /nix/store/04xxb7rz88yhd9mab88ix7rs1c84x03m-python3.13-gevent-24.11.1.drv
  /nix/store/05qas827pmanks6hkrm1jhdbc35xlvmc-python3.13-pytest-asyncio-0.26.0.drv
  /nix/store/4506c94hxk8gz490bvxfgwmdmxzngns3-python3.13-lxml-5.4.0.drv
  /nix/store/cg4xbb3dd9xhvrm921sdlvq6jjw0j9ha-python3.13-types-psutil-7.0.0.20250401.drv
  /nix/store/w8lqhaz61g82xk1y4k1ybfx0gaxhlsm4-python3.13-hatch-vcs-0.4.0.drv
  /nix/store/gs8dqlab5vi8r3ygigcwq9lpw15dvvf7-python3.13-execnet-2.1.1.drv
  /nix/store/4396dincpfjmfxnck3bk8aimi4sh3hak-python3.13-pytest-mock-3.14.1.drv
  /nix/store/nz2a1b8nm9d3w133jh7ddwm4s3s1760h-python3.13-filelock-3.18.0.drv
  /nix/store/mkw7h8h9df1xm4zy0a5mzacs94c1344b-python3.13-pytest-xdist-3.6.1.drv
  /nix/store/n344hbdirr9cir2ia7ijc3q55r4gk0gn-python3.13-attrs-25.3.0.drv
  /nix/store/p8cb957caam9zhcbnm1a0nb98j1qz1k8-python3.13-mypy-extensions-1.1.0.drv
  /nix/store/s8r7jjld7sj9pg02x8jdvhnx1hmiij64-python3.13-tomli-2.2.1.drv
  /nix/store/xzwdb5ia0zjdpbha7fjry5xfjg61fixb-python3.13-types-setuptools-78.1.0.20250329.drv
  /nix/store/irdj8pypwm6fhp4825alyl9lqv5a703d-python3.13-mypy-1.15.0.drv
  /nix/store/0x06yh0dkp6lk5a029qlbg25mr8kyx07-python3.13-charset-normalizer-3.4.2.drv
  /nix/store/1khvbv0xaa2clb3llmqf0mzj9c1cpxiz-python3.13-roman-numerals-py-3.1.0.drv
  /nix/store/3z4mgbkqlqn97ls1b7pn8h3l1mc1fd5l-python3.13-idna-3.10.drv
  /nix/store/dp1lmkskvwk87jw5rq1khlp7xq1ivdbl-python3.13-markupsafe-3.0.2.drv
  /nix/store/i7lldz0v6nkisisc8qssbqa8xgx3jry5-python3.13-six-1.17.0.drv
  /nix/store/av728zfq1lm7w1zln91rmgl4g6xmx24p-python3.13-python-dateutil-2.9.0.post0.drv
  /nix/store/9pa6vsia5dw3k7glb1r8g9b6fiiqnnlh-python3.13-freezegun-1.5.1.drv
  /nix/store/jvxj90z0202z4hvbcny0raqc81cdny60-python3.13-pytz-2025.2.drv
  /nix/store/r3agbbyv3k4yasi7aa7cpn86q52qjxk1-python3.13-babel-2.17.0.drv
  /nix/store/58grs33r23x266ds0p1qa4asjl84afl3-python3.13-jinja2-3.1.6.drv
  /nix/store/9vw67l9wli2138hff5kc2kq0vg5ims5m-python3.13-pystemmer-2.2.0.1.drv
  /nix/store/8xvwsvm5d3xk15hczh05pvqzvpri2n83-python3.13-snowballstemmer-3.0.1.drv
  /nix/store/9v4gw0l6n4i0k0ypskg8mrsj3c4ibm9q-python3.13-defusedxml-0.8.0rc2.drv
  /nix/store/dvi5nw200q947nmr2kppq3n4q4s5y21m-python3.13-certifi-2025.06.15.drv
  /nix/store/r2y7wfm55crzqg4b5vfjxyc7vzmfws99-python3.13-pysocks-1.7.1.drv
  /nix/store/y52vyxrmr0sb9c3c2iap9c7z0378qj4m-python3.13-urllib3-2.4.0.drv
  /nix/store/c1qzp594zp148wqxw2cfa7rj07azw3dg-python3.13-requests-2.32.4.drv
  /nix/store/c4pz2rhkm6cd3kiam22bzhmfr2frqlzv-python3.13-pygments-2.19.1.drv
  /nix/store/d7ixs3clj8rx462x66wgh7m49bq3nhm6-python3.13-sphinxcontrib-htmlhelp-2.1.0.drv
  /nix/store/hkfwlv5wwxmgsrq3l89hybsnsf1x7r9f-python3.13-sphinxcontrib-devhelp-2.0.0.drv
  /nix/store/iw5kaz14i5aj7fi01811glg0sxp44h9a-python3.13-alabaster-1.0.0.drv
  /nix/store/jvz1jn8rx5acaqw1k5vrhzz0j8q9akbs-python3.13-sphinxcontrib-serializinghtml-2.0.0.drv
  /nix/store/kl0xwl8jh3y9ax4402f3lvr8n71bpy5b-python3.13-sphinxcontrib-applehelp-2.0.0.drv
  /nix/store/njp0kckl4r3brsnldgbs7jhs95iyp7sf-python3.13-sphinxcontrib-qthelp-2.0.0.drv
  /nix/store/pz6f7601yqx61cxz1dabcxazspbrg04w-python3.13-sphinxcontrib-jsmath-1.0.1.drv
  /nix/store/pap893ydamp7xw2rrlg6g05vkrgjbh2l-python3.13-webencodings-0.5.1.drv
  /nix/store/x634yv5bmbm63jmir1yzb7x5187ya8vh-python3.13-html5lib-1.1.drv
  /nix/store/xfjzmhqqmgcnhhgq6pgcv3j4k3nlbf7f-python3.13-docutils-0.21.2.drv
  /nix/store/yi4950hpyxgjmadl5bazffy1jsalcjc8-python3.13-imagesize-1.4.1.drv
  /nix/store/yimwybpgjhx6bj9skd9rzl8hll8hqx24-python3.13-sphinxcontrib-websupport-2.0.0.drv
  /nix/store/bmvgd1plfar01d5sai19514asidfkxw7-python3.13-sphinx-8.2.3.drv
  /nix/store/96kxcnadlpgl332p9i89gwm3zyf25wk3-python3.13-sphinx-issues-3.0.1.drv
  /nix/store/5r4ykz2pid3kiy1bimyi6717f069gfxx-python3.13-pip-25.0.1.drv
  /nix/store/xbgh51jrzwbg0ixaz70svjzhfynjbnka-python3.13-rpds-py-0.25.0.drv
  /nix/store/cjrbfyh8vhsz5zimy5dqci6i7f6k8gjp-python3.13-referencing-0.36.2.drv
  /nix/store/fars6z053psd85lrl9msz584fxpm29sx-python3.13-jsonschema-specifications-2025.4.1.drv
  /nix/store/sw2zwn2nv8r113kgjvp5hqm15jvp1m9z-python3.13-hatch-fancy-pypi-readme-24.1.0.drv
  /nix/store/kzy97q89y01n4fvmvbjf354g4xqrl3ql-python3.13-jsonschema-4.23.0.drv
  /nix/store/nxzi98la1jfv5p8m2y7rnxn261p19jhg-python3.13-pyroute2-0.9.2.drv
  /nix/store/y4caivayijw3iy5p4ishvs9ai6lb2ghz-python3.13-pyyaml-6.0.2.drv
  /nix/store/yyzk7i18br1as3nzcyw8na3zzgrpdj94-python3.13-setproctitle-1.3.6.drv
  /nix/store/i704dxx61hbqg4nh42m5vmyjq74pz3z3-python3-minimal-3.13.5-env.drv
these 16 paths will be fetched (12.29 MiB download, 49.54 MiB unpacked):
  /nix/store/aa9r63f0gpq92w4i9d6xq2xdxbz47fd8-c-ares-1.34.5-dev
  /nix/store/rfd6qwz6va5y574yx2rpqnxwnxxsaz73-jsonschema_specifications-2025.4.1.tar.gz
  /nix/store/n8iszi9xk7yrkrciv96mcpnkc0a7r0vh-libstemmer-2.2.0
  /nix/store/497q1aj5gwqz5dqfn98kqaxwdc40hnwg-libyaml-0.2.5-dev
  /nix/store/d9i9hgx7l3qbkx3yaabifdsx7gf88zxz-maturin-1.8.6
  /nix/store/bj7yb9dvv3dj9v73k1553l3k0vx2svxk-maturin-build-hook.sh
  /nix/store/gz9v41phbrm3cn4zdb34nx047iah9c21-pytest-hook
  /nix/store/8z90x6mrchihy6y4i59bvw1aaz8i6zby-remove-hatch-plugins.patch
  /nix/store/32j52513j279nnn9mq36wjw907syv8gn-rpds-py-0.25.0-vendor
  /nix/store/i5d6lipz0a4a3ya2hl014ahj61jlghrq-rpds_py-0.25.0.tar.gz
  /nix/store/bvds6my78r221488clc307iblh3pnbpg-setproctitle-1.3.6.tar.gz
  /nix/store/zd2x78pz8abrw2dbm5q42zffilcg2msh-snowballstemmer-3.0.1.tar.gz
  /nix/store/9qvmyahfp1zdfn1c7h2kr7vddfgjcicv-source
  /nix/store/rvgmfk5jmz04nd0zwghfrzriq45n0j49-source
  /nix/store/zch8izi9mwrm1aqr4ymwb0p3fqlb2fp1-source
  /nix/store/ihrgrmzm64sjra9cq8wgzpm7xa5zhaz6-version.patch
14:44:59
@sandro:supersandro.deSandro 🐧urg14:45:01
@sandro:supersandro.deSandro 🐧

and fails in flit-core

Building wheel from /build/source/flit_core
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/build/source/flit_core/flit_core/wheel.py", line 259, in <module>
    main()
    ~~~~^^
  File "/build/source/flit_core/flit_core/wheel.py", line 255, in main
    info = make_wheel_in(pyproj_toml, outdir)
  File "/build/source/flit_core/flit_core/wheel.py", line 222, in make_wheel_in
    wb = WheelBuilder.from_ini_path(ini_path, fp)
  File "/build/source/flit_core/flit_core/wheel.py", line 89, in from_ini_path
    return cls(
        directory, module, metadata, entrypoints, target_fp, ini_info.data_directory
    )
  File "/build/source/flit_core/flit_core/wheel.py", line 78, in __init__
    self.wheel_zip = zipfile.ZipFile(target_fp, 'w',
                     ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
                         compression=zipfile.ZIP_DEFLATED)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/2bh3ww7jpp1cvd921r3lmsw1kkgrycb5-python3-minimal-3.13.5/lib/python3.13/zipfile/__init__.py", line 1335, in __init__
    _check_compression(compression)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/nix/store/2bh3ww7jpp1cvd921r3lmsw1kkgrycb5-python3-minimal-3.13.5/lib/python3.13/zipfile/__init__.py", line 754, in _check_compression
    raise RuntimeError(
        "Compression requires the (missing) zlib module")
RuntimeError: Compression requires the (missing) zlib module
14:45:30
@hexa:lossy.networkhexa (clat on linux when)meh14:45:42
@hexa:lossy.networkhexa (clat on linux when)yeah, nvm14:45:51
@hexa:lossy.networkhexa (clat on linux when)bootstrapping the package set doesn't work with minimal14:45:59
@hexa:lossy.networkhexa (clat on linux when)not sure how I forgot14:46:08
@hexa:lossy.networkhexa (clat on linux when)python3Small when14:46:26
@hexa:lossy.networkhexa (clat on linux when)* python3Smol when14:46:31
@hexa:lossy.networkhexa (clat on linux when) * python3Smol when 14:46:42

Show newer messages


Back to Room ListRoom Version: 6