!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

351 Members
111 Servers

Load older messages


SenderMessageTime
12 May 2022
@juliosueiras:matrix.orgJulio Sueirassince it seem that nix itself uses a binary ghc 8.10.7 for bootstrapping later ghc04:27:28
@rick:matrix.ciphernetics.nlRick (Mindavi)
In reply to @matthewcroughan:defenestrate.it
Even if you have a content addressed store, should we always expect the output of a cross-compiler to differ from native?
I give it a good chance it'll differ, but only one way to find out :)
05:18:32
@rick:matrix.ciphernetics.nlRick (Mindavi)It does help that the same compiler (gcc) is used, I'd say05:19:25
13 May 2022
@janne.hess:helsinki-systems.deJanne Heß joined the room.12:08:21
@janne.hess:helsinki-systems.deJanne HeßFyi, Hydra will not properly work on non-x86 and non-aarch64 anymore: https://github.com/NixOS/nixpkgs/pull/172378/files#diff-b8f33964a93f34e19fdee3d032e64396c384b7b652f1e167a708b21ab79a0ba9R2450012:09:00
@janne.hess:helsinki-systems.deJanne HeßLetting you know to save you from wasting your time with troubleshooting12:09:20
@rick:matrix.ciphernetics.nlRick (Mindavi)Luckily the tests from UUID4-Tiny will alert you to that12:19:09
@rick:matrix.ciphernetics.nlRick (Mindavi)But yeah, I really hope it'll be replaced with a dependency that's a bit more cross-platform12:19:37
@janne.hess:helsinki-systems.deJanne HeßNow that I think of it… why are we not calling gcc in the postPatch phase?12:19:47
@janne.hess:helsinki-systems.deJanne Heß(the call from your comment)12:20:00
@rick:matrix.ciphernetics.nlRick (Mindavi)It'd need some cleanup of the output, but definitely an option!12:23:27
17 May 2022
@v0id:nltrix.netv0|d joined the room.18:04:30
@qbit:tapenet.orgqbit matthewcroughan - nix.how: out of the gate, bootstrap.sh fails 19:27:37
@qbit:tapenet.orgqbit
configure.ac:1: warning: AC_INIT: not a literal: "m4_esyscmd(bash -c "echo -n $(cat ./.version)$VERSION_SUFFIX")"
configure.ac:108: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf-2.71: error: /usr/local/bin/autoconf-2.71 failed with exit status: 1

19:27:42
@qbit:tapenet.orgqbitill try the release'd version (with the configure script) - but it fails too iirc19:28:08
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howdo things as specified in hacking.md19:28:18
@qbit:tapenet.orgqbitis that not the first step? 19:28:49
@qbit:tapenet.orgqbitit is :P 19:28:52
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howYou need to get the correct dependencies though.19:29:07
@qbit:tapenet.orgqbit
To build Nix itself in this shell:

[nix-shell]$ ./bootstrap.sh
[nix-shell]$ ./configure $configureFlags --prefix=$(pwd)/outputs/out
[nix-shell]$ make -j $NIX_BUILD_CORES

19:29:07
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how Which is usually waht nix develop will do. 19:29:11
@qbit:tapenet.orgqbiti have them19:29:13
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * Which is usually what nix develop will do. 19:29:15
@qbit:tapenet.orgqbithttps://github.com/jasperla/openbsd-wip/blob/master/devel/nix/Makefile#L35-L4919:29:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI'm not sure if you do, the cmd errors in a strange way19:29:32
@janne.hess:helsinki-systems.deJanne Heß left the room.19:29:39
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howThe problem with the BSDs seems to be that you can't recreate the stdenv19:29:49
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howNix has a stdenv, and you may not be creating the exact one it expects.19:30:02
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howeven if it's slight version mismatches19:30:13
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howUnless you have reason to believe the error you sent is BSD specific19:30:32

Show newer messages


Back to Room ListRoom Version: 6