!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1175 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org191 Servers

Load older messages


SenderMessageTime
27 Dec 2025
@emilazy:matrix.orgemily does the log change at all? e.g. the line cargo:warning=Building with: CC 23:57:39
@emilazy:matrix.orgemily oh to be clear cmake needs to be provided to the aws-lc-sys derivation 23:57:52
@emilazy:matrix.orgemilynot any Snix one23:57:53
@emilazy:matrix.orgemilyso you'll need to define it in the crates overrides or etc.23:57:59
@emilazy:matrix.orgemily (because crate2nix splits up crate builds) 23:58:10
@flokli:matrix.orgflokliyes, that's what I did23:58:12
@flokli:matrix.orgfloklihttps://paste.linuxlounge.net/RE23:59:23
28 Dec 2025
@flokli:matrix.orgfloklihttps://paste.linuxlounge.net/LE <- new build log with cmake00:00:19
@flokli:matrix.orgflokli(I really need to fix my workflow, being able to ssh to this machine)00:00:32
@emilazy:matrix.orgemily can you try setting AWS_LC_SYS_CMAKE_BUILDER in the environment variables? 00:03:16
@flokli:matrix.orgflokliit seems to build!00:05:08
@flokli:matrix.orgfloklinice, ty00:05:10
@flokli:matrix.orgflokliI'll open up a CL as well as a PR to nixpkgs00:05:18
@flokli:matrix.orgflokliAre we ok with using cmake unconditionally on all platforms?00:06:05
@emilazy:matrix.orgemily fwiw aws-lc say that environment variable isn't officially supported, they have some baroque conditionals in build.rs that determine when to use CMake 00:06:18
@emilazy:matrix.orgemilyI guess somehow you are tripping them differently to how the packages we have in-tree do00:06:33
@flokli:matrix.orgflokli:)00:06:43
@emilazy:matrix.orgemily I don't see why not. crate2nix isn't used in-tree anyway 00:07:10
@emilazy:matrix.orgemilythough ideally we should figure out why it's behaving differently in that context00:07:20
@flokli:matrix.orgfloklimmm00:08:04
@flokli:matrix.orgflokliI... don00:08:14
@flokli:matrix.orgflokli * 00:08:25
@emilazy:matrix.orgemilyit'll at least be noticeable if they stop supporting the env variable, so it's probably fine to just set it by default in the crate overrides00:09:28
@emilazy:matrix.orgemily though I'd be very curious to know if this happens with buildRustPackage 00:09:39
@flokli:matrix.orgflokli can you try building spotifyd on Darwin? 00:10:44
@emilazy:matrix.orgemilyhttps://hydra.nixos.org/build/31698180900:11:30
* @flokli:matrix.orgflokli hmms more00:11:45
@emilazy:matrix.orgemily perhaps different Cargo features; or perhaps bindgenHook really is doing something; or perhaps buildRustPackage is behaving differently to buildRustCrate here (they are basically entirely separate IIRC) 00:12:16
@emilazy:matrix.orgemily like ultimately crate2nix isn't using Cargo to drive the build 00:13:23
@emilazy:matrix.orgemilyso there's all sorts of potential differences wrt feature resolution etc.00:13:28

Show newer messages


Back to Room ListRoom Version: 6