!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

353 Members
111 Servers

Load older messages


SenderMessageTime
13 May 2022
@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
@qbit:tapenet.orgqbitwell ya can't run nix if it doesn't build :P 19:30:49
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI know.19:32:02
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howThat's your job.19:32:04
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howYou have to get the deps, because you're bootstrapping it./19:32:20
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * You have to get the deps, because you're bootstrapping it.19:32:21
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howit is genuinely a compiler needing a compiler to compile the compiler type situation19:32:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howAnd I've no reason to believe it wouldn't work, if you get the right dependencies available in your /lib19:33:27

Show newer messages


Back to Room ListRoom Version: 6