!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

340 Members
105 Servers

Load older messages


SenderMessageTime
1 Jun 2023
@artemis:arty.chatartemisyeah how do i find the temp dir21:42:10
@artemis:arty.chatartemisoh it tells me21:42:52
@artemis:arty.chatartemiswhat it says note: keeping build directory '/tmp/nix-build-libtool-riscv64-unknown-linux-gnu-2.4.7.drv-0' but that directory does not exist21:43:30
@trofi:matrix.orgtrofiShould be there.21:44:03
@artemis:arty.chatartemisit is not21:44:11
@artemis:arty.chatartemisvi@philomena ~/z/nixpkgs (nixos-22.11)> ls -a /tmp | grep nix .font-unix .ICE-unix nix-shell-5258-0 .X11-unix .XIM-unix21:44:54
@trofi:matrix.orgtrofi https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/misc/libtool/libtool2.nix#L34 should make sure that doc/libtoolize.1 is newer that just patched libtoolize.in. 21:45:43
@artemis:arty.chatartemisah that would explain it then. 22.11 has the substituteInPlace but not the touch21:47:40
@artemis:arty.chatartemisok trying with that touch added but it will be awhile because i have to rebuild everything since now libtool is changed for the x86 toolchain too haha21:49:02
@trofi:matrix.orgtrofiYeah, https://github.com/NixOS/nixpkgs/commit/6becbd39707fbf8306b35af1828893eec0d03646 was a bit large to backport21:49:07
@trofi:matrix.orgtrofi you can do target-specific hack as well: postPatch = ''...'' + lib.optionalString stdenv.hostPlatform.isRiscV "touch foo" 21:50:34
@trofi:matrix.orgtrofiThat way it should rebuild a bit less.21:50:47
@artemis:arty.chatartemisah ty21:52:01
@artemis:arty.chatartemisthat fixes it!21:52:21
@trofi:matrix.orgtrofi \o/ 21:52:25
@trofi:matrix.orgtrofi I wonder why the build for me Just Works without the change. My attempt: $ nix build --no-link github:NixOS/nixpkgs/9af373a61647257d16ae6062cddaa9094d24920c#pkgsCross.riscv64.libtool --rebuild -L. Yields this log: https://bpa.st/raw/TCIB4 23:04:13
2 Jun 2023
@artemis:arty.chatartemis
In reply to @trofi:matrix.org
I wonder why the build for me Just Works without the change. My attempt: $ nix build --no-link github:NixOS/nixpkgs/9af373a61647257d16ae6062cddaa9094d24920c#pkgsCross.riscv64.libtool --rebuild -L. Yields this log: https://bpa.st/raw/TCIB4
it is maybe interesting information they we're using nix from gentoo
03:26:46
@artemis:arty.chatartemisand not nixos03:26:47
@artemis:arty.chatartemisim not sure if that would change anything03:27:15
@artemis:arty.chatartemisanyways, the image builds and boots!03:28:07
@artemis:arty.chatartemis20230601_20h26m11s_grim.png
Download 20230601_20h26m11s_grim.png
03:28:09
@artemis:arty.chatartemisthough. DHCP never succeeds for some reason so i am forever stuck with the DHCP 169.whatever address03:28:24
@artemis:arty.chatartemisbut that is a challenge for another day03:30:14
@neuroserve:matrix.orgneuroserve joined the room.06:14:04
@trofi:matrix.orgtrofi Normally nix should work the same on gentoo. The impurity that usually matters is a host kernel, filesystem type and nix version itself. 06:34:00
@artemis:arty.chatartemisso per that, host kernel is 6.1.27 filesystem is zfs nix version is 2.15.006:38:43
@artemis:arty.chatartemisbut06:39:43
@artemis:arty.chatartemisi was gettin the problem on ext4 too so its probably not that. (we did a migration from ext4 to zfs in between working on this)06:40:05
@artemis:arty.chatartemis* i was gettin the problem on ext4 too so its probably not zfs. (we did a migration from ext4 to zfs in between working on this)06:40:23
@artemis:arty.chatartemiskernel is gentoo's sys-kernel/gentoo-kernel config which is a pretty bog standard kitchen sink kernel like u get on most distros06:42:13

Show newer messages


Back to Room ListRoom Version: 6