Is there an existing issue for this problem?
CrealityPrint Version
7.1.0.4414
Operating System (OS)
Linux
OS Version
Nixos Unstable
Additional system information
CPU: AMD Ryzen 5 3600
GPU: Nvidia RTX 2070 Super on Wayland with driver 580.142
Printer
SparkX i7
How to reproduce
- Build with the provided nix build file.
- Try to start application
Actual results
Application does not start.
Expected results
Application should start and work
Project file & Debug log uploads
To reproduce:
Go and get: https://github.com/BennetKrz/creality-print-nixos/blob/b45921872a5aab481948fa54c3f2db5d26354f64/native/default.nix
Build with: nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'.
The build should complete successfully. Now try to start the application.
After starting for the first time there are opening some windows with errors:
The full log of the first start is this:
/nix/store/pny7a45bysyx313zh3aqaxw1aafr4p1j-crealityprint-7.1.0/CrealityPrint
[2026-04-17 08:49:34.187907] [0x00007fe3249ba100] [trace] Initializing StaticPrintConfigs
[2026-04-17 08:49:34.193993] [0x00007fe3249ba100] [error] main start
[2026-04-17 08:49:34.194001] [0x00007fe3249ba100] [error] main __linux__
[2026-04-17 08:49:34.194057] [0x00007fe3249ba100] [error] main check linux
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1
add font of NanumGothic-Regular returns 1
add font of NanumGothic-Bold returns 1
/build/source/src/slic3r/GUI/Widgets/StateColor.cpp(195): assert "iter != gDarkColors.end()" failed in darkModeColorFor2().
(CrealityPrint:14835): Gtk-WARNING **: 08:49:34.279: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.
/build/source/src/slic3r/GUI/Widgets/StateColor.cpp(195): assert "iter != gDarkColors.end()" failed in darkModeColorFor2().
zsh: segmentation fault (core dumped) /nix/store/pny7a45bysyx313zh3aqaxw1aafr4p1j-crealityprint-7.1.0/CrealityPrint
After that the second start behaves different. No window and just an error log:
/nix/store/pny7a45bysyx313zh3aqaxw1aafr4p1j-crealityprint-7.1.0/CrealityPrint
[2026-04-17 08:51:53.724445] [0x00007f2baed97100] [trace] Initializing StaticPrintConfigs
[2026-04-17 08:51:53.730894] [0x00007f2baed97100] [error] main start
[2026-04-17 08:51:53.730902] [0x00007f2baed97100] [error] main __linux__
[2026-04-17 08:51:53.730926] [0x00007f2baed97100] [error] main check linux
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1
add font of NanumGothic-Regular returns 1
add font of NanumGothic-Bold returns 1
./src/gtk/msgdlg.cpp(281): assert ""m_widget"" failed in ShowModal(): failed to create GtkMessageDialog
(process:15112): GLib-GObject-CRITICAL **: 08:51:53.762: invalid (NULL) pointer instance
(process:15112): GLib-GObject-CRITICAL **: 08:51:53.762: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
After cleaning ~/.config/Creality i can reproduce the first start behavior. I think, that on the first start it starts with creating some kind of config, crashes and the config is corrupted. On consecutive starts, it fails because of the corrupted config.
Checklist of files to include
Anything else?
First off: Im sorry, if this is not the right place to ask questions about some kind of nixos specific questions. Just tell me and i will close the issue.
Could someone explain me, what am i missing in the build/environment to make this work?
Help in making this available for Nixos users would be appreciated.
Is there an existing issue for this problem?
CrealityPrint Version
7.1.0.4414
Operating System (OS)
Linux
OS Version
Nixos Unstable
Additional system information
CPU: AMD Ryzen 5 3600
GPU: Nvidia RTX 2070 Super on Wayland with driver 580.142
Printer
SparkX i7
How to reproduce
Actual results
Application does not start.
Expected results
Application should start and work
Project file & Debug log uploads
To reproduce:
Go and get: https://github.com/BennetKrz/creality-print-nixos/blob/b45921872a5aab481948fa54c3f2db5d26354f64/native/default.nix
Build with:
nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'.The build should complete successfully. Now try to start the application.
After starting for the first time there are opening some windows with errors:
The full log of the first start is this:
After that the second start behaves different. No window and just an error log:
After cleaning
~/.config/Crealityi can reproduce the first start behavior. I think, that on the first start it starts with creating some kind of config, crashes and the config is corrupted. On consecutive starts, it fails because of the corrupted config.Checklist of files to include
Anything else?
First off: Im sorry, if this is not the right place to ask questions about some kind of nixos specific questions. Just tell me and i will close the issue.
Could someone explain me, what am i missing in the build/environment to make this work?
Help in making this available for Nixos users would be appreciated.