Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix/fossbeamer: use wrapGAppsHook instead of manual wrapper in cage #32

Closed
wants to merge 1 commit into from

Conversation

Kranzes
Copy link
Contributor

@Kranzes Kranzes commented Jul 19, 2024

This fixes font sizes.

Copy link
Collaborator

@nikstur nikstur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

@flokli
Copy link
Contributor

flokli commented Jul 19, 2024

It's failing to crosscompile though:

Wrapping program '/nix/store/h74fvnfj7dsazc8075d6yagygrgvqppb-rust_fossbeamer-0.1.0-aarch64-unknown-linux-gnu/bin/fossbeamer'
/nix/store/7cg6dy322gd7k1f8n95n4gs44yyr9rf6-gcc-wrapper-13.3.0/bin/cc: line 257: /nix/store/5vfarsvf1i2nj9vzgv8hkz1ifnm25c6y-gcc-aarch64-unknown-linux-gnu-13.3.0/bin/gcc: cannot execute binary file: Exec format error
/nix/store/7cg6dy322gd7k1f8n95n4gs44yyr9rf6-gcc-wrapper-13.3.0/bin/cc: line 257: /nix/store/5vfarsvf1i2nj9vzgv8hkz1ifnm25c6y-gcc-aarch64-unknown-linux-gnu-13.3.0/bin/gcc: Success
error: build of '/nix/store/574mfphqblswgfjpr9labf4i2k9w9p1v-rust_fossbeamer-0.1.0-aarch64-unknown-linux-gnu.drv' on 'ssh:https://[email protected]' failed: builder for '/nix/store/574mfphqblswgfjpr9labf4i2k9w9p1v-rust_fossbeamer-0.1.0-aarch64-unknown-linux-gnu.drv' failed with exit code 1
error: builder for '/nix/store/574mfphqblswgfjpr9labf4i2k9w9p1v-rust_fossbeamer-0.1.0-aarch64-unknown-linux-gnu.drv' failed with exit code 1;
       last 10 log lines:
       > Running phase: dropIconThemeCache
       > Running phase: dropIconThemeCache
       > Running phase: fixupPhase
       > calling 'preFixup' function hook '_moveToShare'
       > calling 'preFixup' function hook '_multioutDocs'
       > calling 'preFixup' function hook '_multioutDevs'
       > calling 'fixupOutput' function hook 'wrapGAppsHook'
       > Wrapping program '/nix/store/h74fvnfj7dsazc8075d6yagygrgvqppb-rust_fossbeamer-0.1.0-aarch64-unknown-linux-gnu/bin/fossbeamer'
       > /nix/store/7cg6dy322gd7k1f8n95n4gs44yyr9rf6-gcc-wrapper-13.3.0/bin/cc: line 257: /nix/store/5vfarsvf1i2nj9vzgv8hkz1ifnm25c6y-gcc-aarch64-unknown-linux-gnu-13.3.0/bin/gcc: cannot execute binary file: Exec format error
       > /nix/store/7cg6dy322gd7k1f8n95n4gs44yyr9rf6-gcc-wrapper-13.3.0/bin/cc: line 257: /nix/store/5vfarsvf1i2nj9vzgv8hkz1ifnm25c6y-gcc-aarch64-unknown-linux-gnu-13.3.0/bin/gcc: Success
       For full logs, run 'nix log /nix/store/574mfphqblswgfjpr9labf4i2k9w9p1v-rust_fossbeamer-0.1.0-aarch64-unknown-linux-gnu.drv'.
error: 1 dependencies of derivation '/nix/store/ixrhi9amjmgzd4yv4fnbqhjdj7al3bw5-rust_fossbeamer-0.1.0-aarch64-unknown-linux-gnu-linked.drv' failed to build

(repro with nix-build nix -A machine-cm3.toplevel or nix-build nix -A pkgs.pkgsCross.aarch64-multiplatform.fossbeamer ,

@Kranzes
Copy link
Contributor Author

Kranzes commented Jul 19, 2024

I hate GitHub, I'm continuing in #34

@Kranzes Kranzes closed this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants