!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

221 Members
71 Servers

Load older messages


SenderMessageTime
9 Nov 2024
@emilazy:matrix.orgemilyhm?15:46:27
@emilazy:matrix.orgemilywhat changes?15:46:30
@rosscomputerguy:matrix.orgTristan RossThe ones that changes the consumption of `*Platform` -> `stdenv.*Platform`15:47:12
@rosscomputerguy:matrix.orgTristan RossI think Artturin did that PR15:47:26
@rosscomputerguy:matrix.orgTristan RossIt seems to have messed up the source fetching since Flutter engine sources are based on host and target.15:48:03
@rosscomputerguy:matrix.orgTristan RossI tried fixing it with overriding stdenv but that didn't help15:48:33
@emilazy:matrix.orgemilythat seems really unlikely15:49:18
@emilazy:matrix.orgemilythere's no semantic difference15:49:22
@artturin:matrix.orgArtturin
In reply to @rosscomputerguy:matrix.org
It seems to have messed up the source fetching since Flutter engine sources are based on host and target.
The pr only unalised the usages
15:49:26
@artturin:matrix.orgArtturin* The pr only unaliased the usages15:49:40
@rosscomputerguy:matrix.orgTristan Ross
In reply to @emilazy:matrix.org
there's no semantic difference
Then why does the update script now fetch aarch64-linux for x86_64-linux while host is aarch64-linux.
15:50:42
@artturin:matrix.orgArtturin
In reply to @rosscomputerguy:matrix.org
I tried fixing it with overriding stdenv but that didn't help
Overriding the stdenv can change the systems but won't change the cc system
15:50:50
@artturin:matrix.orgArtturin
In reply to @rosscomputerguy:matrix.org
Then why does the update script now fetch aarch64-linux for x86_64-linux while host is aarch64-linux.
Where is it
15:50:59
@rosscomputerguy:matrix.orgTristan Ross
In reply to @artturin:matrix.org
Overriding the stdenv can change the systems but won't change the cc system
I don't need CC for source fetching
15:51:09
@emilazy:matrix.orgemily
In reply to @rosscomputerguy:matrix.org
Then why does the update script now fetch aarch64-linux for x86_64-linux while host is aarch64-linux.
something else must have changed. stdenv.isDarwin is the same as stdenv.hostPlatform.isDarwin
15:51:12
@emilazy:matrix.orgemilyArtturin's PR was 0 rebuilds15:51:32
@rosscomputerguy:matrix.orgTristan Ross
In reply to @artturin:matrix.org
Where is it
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/flutter/update/get-engine-hashes.nix.in
15:52:09
@rosscomputerguy:matrix.orgTristan Ross
In reply to @emilazy:matrix.org
Artturin's PR was 0 rebuilds
0 rebuilds doesn't affect update scripts tho
15:52:26
@emilazy:matrix.orgemilythe PR didn't even touch this script.15:52:40
@rosscomputerguy:matrix.orgTristan RossBecause I had to change the script since the PR broke it15:53:24
@emilazy:matrix.orgemily
In reply to @emilazy:matrix.org
something else must have changed. stdenv.isDarwin is the same as stdenv.hostPlatform.isDarwin
ah, I was thinking of another PR. https://github.com/NixOS/nixpkgs/commit/95c1043ff5531b4348c50fa92763954df98399ed touched the flutter stuff
15:53:31
@emilazy:matrix.orgemily the inherit stuff I guess 15:53:52
@emilazy:matrix.orgemilywhy is this using templated Nix files?15:54:04
@rosscomputerguy:matrix.orgTristan RossBecause the python update script fills in the template 15:54:23
@emilazy:matrix.orgemily I don't quite understand what the Nix is for but surely all the parameterization here could just be --argstr? 15:55:43
@rosscomputerguy:matrix.orgTristan RossIt fetches the source so the hash can be determined 15:56:55
@rosscomputerguy:matrix.orgTristan RossThe hashes are written out into a JSON file and gets imported later on15:57:15
@rosscomputerguy:matrix.orgTristan RossI also didn't originally write the updater, I only changed it once I added the flutter engine built from source lol15:59:22
@emilazy:matrix.orgemily yeah, but I mean, Nix is a programming language. you don't need to do "@foo@", you can just… take foo as an argument and pass it with --arg/--argstr when evaluating/building. 16:06:21
10 Nov 2024
@emilazy:matrix.orgemily help: is it normal that gcc and gcc13 are wrapping different GCCs (different bootstrap stages seemingly) with different options even though gcc = pkgs.${"gcc${toString 13}"} 12:53:26

Show newer messages


Back to Room ListRoom Version: 9