!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

136 Members
49 Servers

Load older messages


SenderMessageTime
6 Sep 2024
@qyliss:fairydust.spaceAlyssa Rossthat's probably the main reason13:04:57
@qyliss:fairydust.spaceAlyssa RossI missed that line before :(13:05:15
@emilazy:matrix.orgemilyalmost as if assuming all the world is autotools is bad šŸ« 13:05:45
@qyliss:fairydust.spaceAlyssa RossBut I'm glad to have learned about it, because now maybe I can fix https://github.com/NixOS/nix/issues/1138913:05:58
@emilazy:matrix.orgemilyhm13:06:11
@emilazy:matrix.orgemily but there's setOutputFlags as an escape hatch 13:06:15
@emilazy:matrix.orgemilyand a lot of packages already set that13:06:21
@emilazy:matrix.orgemily 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:matrix.orgArtturin

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
@emilazy:matrix.orgemilyI 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
@emilazy:matrix.orgemilyI feel like I could triage that without burning out.13:07:41
@artturin:matrix.orgArtturinIt has multiple outputs and setOutputFlags=false so at least that part has to be kept13:07:57
@qyliss:fairydust.spaceAlyssa Rossalthough to fix my Nix issue I'd have to add setOutputFlags support to the Meson hook13:08:04
@qyliss:fairydust.spaceAlyssa RossI guess I'll do that13:08:06
@emilazy:matrix.orgemily
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
@emilazy:matrix.orgemilyI mean any package that already sets it is fine13:09:55
@emilazy:matrix.orgemilyI wouldn't want to get rid of that flag13:09:59
@emilazy:matrix.orgemily I just think we should be doing this stuff even if outputs = ["out"] 13:10:08
@emilazy:matrix.orgemily let's see if I can get to hello with that 13:10:42
@qyliss:fairydust.spaceAlyssa Rosshttps://github.com/NixOS/nixpkgs/pull/34008913:14:12
@emilazy:matrix.orgemily
if [ -z "${dontUseMesonConfigure-}" ] && [ -z "${configurePhase-}" ]; then
    # shellcheck disable=SC2034
    setOutputFlags=
    configurePhase=mesonConfigurePhase
fi
13:15:17
@emilazy:matrix.orgemilydon't you need to adjust that too?13:15:21
@qyliss:fairydust.spaceAlyssa RossOops, yes13:18:12
@qyliss:fairydust.spaceAlyssa RossI should have tested more thoroughly but I was distracted by Rust update being broken again13:18:28
@qyliss:fairydust.spaceAlyssa RossDrafted13:18:39
@emilazy:matrix.orgemily I'm bootstrapping a stdenv without the [ "$(getAllOutputNames)" = "out" ] so we'll see if maybe you won't need to justify the divergence :) 13:20:21
@emilazy:matrix.orgemily I really want a world where we have autotoolsHook 13:23:52
@k900:0upti.meK900Who doesn't13:25:04
@emilazy:matrix.orgemily the users of the dearly-departed gnu module 13:26:15
@9hp71n:matrix.orgghpzin joined the room.13:44:11

Show newer messages


Back to Room ListRoom Version: 9