6 Sep 2024 |
K900 | The not pkgs/kde is Qt5 | 12:54:29 |
K900 | Technically I think ECM still supports both | 12:54:40 |
emily | what are the actual attribute paths? :p | 12:54:55 |
K900 | But I kinda just want to yeet Qt5 support after 24.11 | 12:54:57 |
K900 | libsForQt5.extra-cmake-modules for Qt5 and kdePackages.extra-cmake-modules for Qt6 | 12:55:15 |
emily | from the whole distro or from ECM? | 12:55:22 |
K900 | From KDE bits specifically | 12:55:30 |
emily | Alyssa Ross:
_multioutConfig() {
if [ "$(getAllOutputNames)" = "out" ] || [ -z "${setOutputFlags-1}" ]; then return; fi;
| 13:03:37 |
emily | :( | 13:03:40 |
emily | I wonder if there's a reason for that or if we could just. turn it off. | 13:03:47 |
emily | maybe to avoid the various *dir s being absolute? I think they might be relative to --prefix by default or something? | 13:04:10 |
emily | also because probably there are janky homemade ./configure scripts that accept --prefix but not all the others? | 13:04:32 |
Alyssa Ross | that's probably the main reason | 13:04:57 |
Alyssa Ross | I missed that line before :( | 13:05:15 |
emily | almost as if assuming all the world is autotools is bad š« | 13:05:45 |
Alyssa Ross | But I'm glad to have learned about it, because now maybe I can fix https://github.com/NixOS/nix/issues/11389 | 13:05:58 |
emily | hm | 13:06:11 |
emily | but there's setOutputFlags as an escape hatch | 13:06:15 |
emily | and a lot of packages already set that | 13:06:21 |
emily | maybe we can just get rid of [ "$(getAllOutputNames)" = "out" ] for a staging cycle and then I fix sbin the one after? | 13:06:37 |
Artturin | zlib
./configure: interpreter directive changed from "#!/bin/sh" to "/nix/store/razasrvdg7ckplfmvdxv4ia3wbayr94s-bootstrap-tools/bin/sh"
configure flags: --prefix=/nix/store/m88zpjjm4cgk9i6hfkyymb7a20fnkj6q-zlib-1.3.1 --bindir=/nix/store/m88zpjjm4cgk9i6hfkyymb7a20fnkj6q-zlib-1.3.1/bin --sbindir=/nix/store/m88zpjjm4cgk9i6hfkyymb7a20fnkj6q-zlib-1.3.1/sbin --includedir=/nix/store/5hdwfmdcv170>
unknown option: --bindir=/nix/store/m88zpjjm4cgk9i6hfkyymb7a20fnkj6q-zlib-1.3.1/bin
./configure --help for help
** ./configure aborting.
| 13:07:11 |
emily | I don't know if that's too ambitious, but "set one boolean flag on packages that actually currently work but have a bad home-grown configure script" soundsā¦ tenable? | 13:07:31 |
emily | I feel like I could triage that without burning out. | 13:07:41 |
Artturin | It has multiple outputs and setOutputFlags=false so at least that part has to be kept | 13:07:57 |
Alyssa Ross | although to fix my Nix issue I'd have to add setOutputFlags support to the Meson hook | 13:08:04 |
Alyssa Ross | I guess I'll do that | 13:08:06 |
emily | In reply to @artturin:matrix.org It has multiple outputs and setOutputFlags=false so at least that part has to be kept right | 13:09:52 |
emily | I mean any package that already sets it is fine | 13:09:55 |
emily | I wouldn't want to get rid of that flag | 13:09:59 |
emily | I just think we should be doing this stuff even if outputs = ["out"] | 13:10:08 |