| 1 Jun 2023 |
artemis | vi@philomena ~/z/nixpkgs (nixos-22.11)> ls -a /tmp | grep nix
.font-unix
.ICE-unix
nix-shell-5258-0
.X11-unix
.XIM-unix | 21:44:54 |
@trofi:matrix.org | 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 | ah that would explain it then. 22.11 has the substituteInPlace but not the touch | 21:47:40 |
artemis | ok 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 haha | 21:49:02 |
@trofi:matrix.org | Yeah, https://github.com/NixOS/nixpkgs/commit/6becbd39707fbf8306b35af1828893eec0d03646 was a bit large to backport | 21:49:07 |
@trofi:matrix.org | you can do target-specific hack as well: postPatch = ''...'' + lib.optionalString stdenv.hostPlatform.isRiscV "touch foo" | 21:50:34 |
@trofi:matrix.org | That way it should rebuild a bit less. | 21:50:47 |
artemis | ah ty | 21:52:01 |
artemis | that fixes it! | 21:52:21 |
@trofi:matrix.org | \o/ | 21:52:25 |
@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 | 23:04:13 |
| 2 Jun 2023 |
artemis | 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 | and not nixos | 03:26:47 |
artemis | im not sure if that would change anything | 03:27:15 |
artemis | anyways, the image builds and boots! | 03:28:07 |
artemis |  Download 20230601_20h26m11s_grim.png | 03:28:09 |