6 Sep 2024 |
Alyssa Ross | e.g. jq sets datadir to $doc/share, when I can imagine normally we'd want "data" installed elsewhere | 12:40:17 |
emily | so I don't understand how it behaves differently depending on the option here | 12:40:19 |
Alyssa Ross | it's from 2014 | 12:40:26 |
emily | oh | 12:40:34 |
Alyssa Ross | (multiple outputs) | 12:40:40 |
emily | I missed the conditional outputs definition | 12:40:40 |
emily | I am no longer confused | 12:40:43 |
emily | although, surely the hook handles that already? | 12:40:59 |
emily | like it will set it based on outputBin , which is conditional on that outputs | 12:41:11 |
emily | but yeah I guess a lot of this stuff is just old | 12:42:52 |
emily | although some of it is old and then was refactored in a way that is still redundant… | 12:43:01 |
Artturin | https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/setup-hooks/multiple-outputs.sh#L4 | 12:43:46 |
Artturin | * https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/setup-hooks/multiple-outputs.sh | 12:43:53 |
emily | yeah, that's where all this started :) | 12:44:23 |
emily | In reply to @emilazy:matrix.org although some of it is old and then was refactored in a way that is still redundant… e.g., https://github.com/NixOS/nixpkgs/commit/6a60c37169b32 | 12:44:54 |
emily | the original code is from 2013, so now I understand why the redundant stuff is there, but the refactor… :) | 12:45:04 |
emily | K900: what's the difference between pkgs/development/libraries/kde-frameworks/extra-cmake-modules and pkgs/kde/frameworks/extra-cmake-modules | 12:54:03 |
emily | I don't want to make another embarrassing attribute path error | 12:54:09 |
K900 | The pkgs/kde is the Qt6 version | 12:54:23 |
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 |