!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

228 Members
74 Servers

Load older messages


SenderMessageTime
24 Sep 2024
@rosscomputerguy:matrix.orgTristan RossIt's a little scary to look at but glad it's in.21:13:22
@ckie:ckie.devckie (they/them) changed their profile picture.23:19:25
25 Sep 2024
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de joined the room.10:00:48
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de Hi, I'm currently trying out stuff with python and the respective propagated inputs. My goal is to only propagate PYTHONPATH and not other variables like PATH. I tried that by adding a nix-support/python-dependencies file which works great but I struggle with parsing it. The current implementation which takes deps from propagated-build-inputs just calls addEnvHooks but I don't think I can do this because that would also add all pages to PATH. So I started implementing my own logic that recurses over the packages but I struggle to figure out which variables I should inspect. I am sure about propagatedBuildInputs and nativeBuildInputs but it feels like I shouldn't start my own list. Is there something in stdenv I can use to not reimplement these lists? 10:04:28
@emilazy:matrix.orgemily Artturin: not sure we should ignore that treewide for blame as it obscures "wait, why is this using hostPlatform?" 15:32:20
@emilazy:matrix.orgemily(as opposed to something like nixfmt which is purely presentational)15:32:40
@emilazy:matrix.orgemily(posted on github instead actually)15:34:15
27 Sep 2024
@yannis:mozilla.org@yannis:mozilla.org changed their display name from yannis to yannis|pto back oct 16.15:17:29
1 Oct 2024
@-_o:matrix.org-_o joined the room.21:00:11
4 Oct 2024
@terrorjack:matrix.terrorjack.com@terrorjack:matrix.terrorjack.com joined the room.17:38:12
7 Oct 2024
@lehmanator:tchncs.deSam Lehman changed their profile picture.14:24:11
9 Oct 2024
@rosscomputerguy:matrix.orgTristan Rosshttps://github.com/NixOS/nixpkgs/pull/335023 I hope we can get this in soon, it'll fix aarch64-linux building of the kernel 18:15:00
@qyliss:fairydust.spaceAlyssa RossI'm still really unsure about it19:36:37
@rosscomputerguy:matrix.orgTristan Ross
In reply to @qyliss:fairydust.space
I'm still really unsure about it
In what way? It being necessary? Because it does make pkgsLLVM.linux build correctly on aarch64-linux.
19:37:44
@qyliss:fairydust.spaceAlyssa RossIn the way I said in my comment19:39:20
@qyliss:fairydust.spaceAlyssa RossI don't think there's a one way 64-bit<->32-bit mapping.19:39:27
@qyliss:fairydust.spaceAlyssa Ross * 19:39:41
@rosscomputerguy:matrix.orgTristan RossOh19:40:25
@qyliss:fairydust.spaceAlyssa Rossor at least, I'm very not confident that there is one19:40:26
@rosscomputerguy:matrix.orgTristan Ross Could also detect if -m32 or -m64 is specified but aside from -target and -m, idk any other ways. 19:41:57
@rosscomputerguy:matrix.orgTristan RossAnd this mainly only matches on the arch name so other vendor/os names won't trip up the detection at least.19:42:29
@rosscomputerguy:matrix.orgTristan Ross At least the kernel only uses -target it seems for the case I ran into. 19:43:39
10 Oct 2024
@me:linj.techlinj Sorry for cross-posting. What is the difference between stdenv.shell and runtimeShell? I want to do something like make SHELL=${runtimeShell} during build. 02:14:12
@rosscomputerguy:matrix.orgTristan RossIdk either, I can figure out from grepping02:15:07
@rosscomputerguy:matrix.orgTristan Ross stdenv.shell seems to be the one which can run the builder. Not sure what runtimeShell = prevStage.ccWrapperStdenv.shell; exactly means. 02:16:59
@rosscomputerguy:matrix.orgTristan RossOh, they're mostly the same02:17:32
@me:linj.techlinj
In reply to @rosscomputerguy:matrix.org
stdenv.shell seems to be the one which can run the builder. Not sure what runtimeShell = prevStage.ccWrapperStdenv.shell; exactly means.
Oh, I do not mean this runtimeShell, I mean pkgs.runtimeShell.
02:18:16
@rosscomputerguy:matrix.orgTristan Ross
In reply to @me:linj.tech
Oh, I do not mean this runtimeShell, I mean pkgs.runtimeShell.
Oh, it's an alias of runtimeShellPackage
02:18:53
@rosscomputerguy:matrix.orgTristan RossBut it references the actual exec02:19:06
@rosscomputerguy:matrix.orgTristan Ross Basically like doing lib.getExec pkgs.runtimeShellPackage which the runtime shell package is bash 02:19:34

Show newer messages


Back to Room ListRoom Version: 9