Skip to content

picture-of-the-day: init at 1.4.3#405768

Closed
0xda157 wants to merge 1 commit intoNixOS:masterfrom
0xda157:picture-of-the-day
Closed

picture-of-the-day: init at 1.4.3#405768
0xda157 wants to merge 1 commit intoNixOS:masterfrom
0xda157:picture-of-the-day

Conversation

@0xda157
Copy link
Copy Markdown
Contributor

@0xda157 0xda157 commented May 10, 2025

https://codeberg.org/swsnr/picture-of-the-day

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels May 10, 2025
@0xda157 0xda157 marked this pull request as draft May 10, 2025 17:24
@0xda157

This comment was marked as outdated.

@0xda157 0xda157 force-pushed the picture-of-the-day branch from cc46c40 to 33a9ea8 Compare May 18, 2025 01:33
@0xda157 0xda157 marked this pull request as ready for review May 18, 2025 01:33
@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. and removed 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels May 18, 2025
@Aleksanaa
Copy link
Copy Markdown
Member

thread 'main' panicked at src/config.rs:97:14:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread 'main' panicked at library/core/src/panicking.rs:218:5:
panic in a function that cannot unwind
stack backtrace:
   0:     0x64dc83239d80 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h9edbd6e38a8b0805
   1:     0x64dc83253483 - core::fmt::write::h7b1248e5e0c79c78
   2:     0x64dc83210ec3 - std::io::Write::write_fmt::h5e301665499081bf
   3:     0x64dc83239c23 - std::sys::backtrace::BacktraceLock::print::h4a386d2ef944f43e
   4:     0x64dc832360dc - std::panicking::default_hook::{{closure}}::h61b7aa0fc15f236b
   5:     0x64dc83235fe9 - std::panicking::default_hook::h2d21379b0b23a14f
   6:     0x64dc8323660f - std::panicking::rust_panic_with_hook::h100726ba9570b85a
   7:     0x64dc8323a266 - std::panicking::begin_panic_handler::{{closure}}::h141712493bfacf0c
   8:     0x64dc83239f99 - std::sys::backtrace::__rust_end_short_backtrace::h891003731531c924
   9:     0x64dc8323617d - rust_begin_unwind
  10:     0x64dc8309720d - core::panicking::panic_nounwind_fmt::ha2f9a57c040716ff
  11:     0x64dc830972a2 - core::panicking::panic_nounwind::h9817f69376d9bbc4
  12:     0x64dc83097365 - core::panicking::panic_cannot_unwind::h0197944997fd9fc5
  13:     0x64dc830d7f9c - gio::subclass::application::application_startup::h5629cdbbf6590504
  14:     0x7dc3573481f1 - _g_closure_invoke_va
  15:     0x7dc35735e5a1 - signal_emit_valist_unlocked
  16:     0x7dc357364122 - g_signal_emit_valist
  17:     0x7dc3573641df - g_signal_emit
  18:     0x7dc3564f5a46 - g_application_register
  19:     0x7dc3564f5ed8 - g_application_real_local_command_line
  20:     0x64dc830d8320 - gio::subclass::application::application_local_command_line::hb50b6772fa5b3516
  21:     0x7dc3564f6248 - g_application_run
  22:     0x64dc830f2e80 - gio::application::ApplicationExtManual::run::h91298fe1c3f820f8
  23:     0x64dc83111563 - pictureoftheday::main::hc4b4fe898795c3e5
  24:     0x64dc830fec43 - std::sys::backtrace::__rust_begin_short_backtrace::hc18141c3cb8bbdda
  25:     0x64dc831393f9 - std::rt::lang_start::{{closure}}::he3bc453dd4032e78
  26:     0x64dc83218975 - std::rt::lang_start_internal::he3cad277a2bdfe30
  27:     0x64dc83111a15 - main
  28:     0x7dc355c2a47e - __libc_start_call_main
  29:     0x7dc355c2a539 - __libc_start_main_impl
  30:     0x64dc83097815 - _start
  31:                0x0 - <unknown>
thread caused non-unwinding panic. aborting.
Aborted (core dumped)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

desktop file and icon not installed. Also gresource isn't installed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

hmm seems like they don't use a real build system and just rely on things being in the path.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

so it seems like they use a combination of just and build.rs, I have made some progress on getting the stuff in $out/share installed but the bin has gone missing.

@Aleksanaa Aleksanaa marked this pull request as draft May 18, 2025 08:18
@0xda157 0xda157 force-pushed the picture-of-the-day branch from 33a9ea8 to d2ddf04 Compare May 19, 2025 02:08
@0xda157 0xda157 closed this Jul 3, 2025
@0xda157 0xda157 deleted the picture-of-the-day branch July 3, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants