| 18 Aug 2025 |
Artturin | Build with --keep-failed and inspect the failed build in /tmp | 20:02:06 |
Artturin | With for example ranger | 20:02:14 |
Artturin | * With for example ranger cli file manager | 20:02:18 |
QuadRadical (Ping) | sorry, how do i build only that package with my overlay? | 20:04:53 |
QuadRadical (Ping) | ah i found a way | 20:07:06 |
Artturin | nixosConfigurations.<hostname>.pkgs.glycin-loaders might work | 20:11:09 |
QuadRadical (Ping) | its going thanks | 20:13:04 |
QuadRadical (Ping) | i ran this nix build .#nixosConfigurations.quadphone.pkgs.glycin-loaders --keep-failed but after it failed i still dont see a result folder | 20:13:49 |
QuadRadical (Ping) | or do i not put it there | 20:14:12 |
QuadRadical (Ping) | oh its /nix/var/nix/builds/nix-build-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv-4 | 20:18:30 |
Artturin | Oh it's not /tmp anymore? | 20:20:18 |
Artturin | I have my nix tmpdir set to /comp-temp which is on ramfs sinve years ago so haven't checked the default | 20:21:06 |
Artturin | * I have my nix tmpdir set to /comp-temp which is on tmpfs for mamy years so haven't checked the default | 20:22:14 |
QuadRadical (Ping) | hmm its the repo root but it doesnt have the loaders subdir | 20:22:15 |
QuadRadical (Ping) |  Download Screenshot From 2025-08-18 16-22-03.png | 20:22:19 |
QuadRadical (Ping) | oh its just loaders | 20:23:26 |
QuadRadical (Ping) | not glycin-loaders | 20:23:29 |
Artturin | In reply to @quadradical:federated.nexus not glycin-loaders Maybe it was renamed and it isn't in a release yet? | 20:24:14 |
Artturin | https://gitlab.gnome.org/GNOME/glycin/-/commit/d5e49132defb3752b82943f13ab0c9aef2907c84 | 20:24:48 |
Artturin | Yup | 20:24:50 |
Artturin | 2 weeks ago | 20:24:52 |
QuadRadical (Ping) | ahhhh, oke | 20:25:27 |
QuadRadical (Ping) | i still have this though | 20:25:39 |
QuadRadical (Ping) | error: builder for '/nix/store/9ymkhv5grky5wmk1n19icn82cl7v24ph-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv' failed with exit code 1;
last 25 log lines:
> Compiling static_assertions v1.1.0
> Compiling rustix v0.38.44
> error: linker `cc` not found
> |
> = note: No such file or directory (os error 2)
>
> error: could not compile `serde` (build script) due to 1 previous error
> warning: build failed, waiting for other jobs to finish...
> error: could not compile `crossbeam-utils` (build script) due to 1 previous error
> error: could not compile `libc` (build script) due to 1 previous error
> error: could not compile `proc-macro2` (build script) due to 1 previous error
> error: could not compile `rustix` (build script) due to 1 previous error
> [1/12] Merging translations for loaders/glycin-jxl.conf
> /nix/store/m705ap2d06cz67bl8xssz33rl9axy3pm-gettext-0.25.1/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
> [2/12] Merging translations for loaders/glycin-image-rs.conf
> /nix/store/m705ap2d06cz67bl8xssz33rl9axy3pm-gettext-0.25.1/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
> loaders/tmp-glycin-image-rs:27:0: warning: invalid non-blank line
> loaders/tmp-glycin-image-rs:31:0: warning: invalid non-blank line
> [3/12] Merging translations for loaders/glycin-svg.conf
> /nix/store/m705ap2d06cz67bl8xssz33rl9axy3pm-gettext-0.25.1/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
> [4/12] Merging translations for loaders/glycin-heif.conf
> /nix/store/m705ap2d06cz67bl8xssz33rl9axy3pm-gettext-0.25.1/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
> FAILED: loaders/glycin-heif-bin
> env CARGO_HOME=/build/glycin-1.2.3/build/cargo-home LOCALEDIR=/nix/store/cckz6c52iwiwbirh05m3fa1sjlhzwi3f-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3/share/locale GIT_DESCRIBE= /nix/store/as0xa9521nz18lgw9a5q3r3x5r4b15pz-aarch64-unknown-linux-gnu-cargo-1.88.0/bin/cargo build --target-dir /build/glycin-1.2.3/build/cargo-target --profile release --manifest-path /build/glycin-1.2.3/Cargo.toml --package glycin-heif
> ninja: build stopped: subcommand failed.
For full logs, run 'nix log /nix/store/9ymkhv5grky5wmk1n19icn82cl7v24ph-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv'.
| 20:25:42 |
QuadRadical (Ping) | but the substitute seemed to work:
postPatch = lib.optionalString (super.stdenv.buildPlatform != super.stdenv.hostPlatform) ''
substituteInPlace loaders/meson.build \
--replace-fail "cargo_target_dir / rust_target / loader," "cargo_target_dir / '${super.stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / loader,"
'';
| 20:25:56 |
Artturin | In reply to @quadradical:federated.nexus but the substitute seemed to work:
postPatch = lib.optionalString (super.stdenv.buildPlatform != super.stdenv.hostPlatform) ''
substituteInPlace loaders/meson.build \
--replace-fail "cargo_target_dir / rust_target / loader," "cargo_target_dir / '${super.stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / loader,"
'';
The error isn't related to that | 20:28:13 |
Artturin | Did you add the env var | 20:28:27 |
QuadRadical (Ping) | Yeah I did, I have this overlay:
glycin-loaders = super.glycin-loaders.overrideAttrs (old: {
postPatch = lib.optionalString (super.stdenv.buildPlatform != super.stdenv.hostPlatform) ''
substituteInPlace loaders/meson.build \
--replace-fail "cargo_target_dir / rust_target / loader," "cargo_target_dir / '${super.stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / loader,"
'';
env.CARGO_BUILD_TARGET = super.stdenv.hostPlatform.rust.rustcTargetSpec;
});
| 20:28:48 |
QuadRadical (Ping) | Redacted or Malformed Event | 20:32:19 |
QuadRadical (Ping) | Redacted or Malformed Event | 20:32:34 |