Missing icons on Nix in 1.0alpha
Steps to reproduce:
I am packaging 1.0 alpha for Nix but unlike in previous versions, when I run Inkscape, it does not show most of icons. I tried deleting my ~/.config/inkscape
directory before running it.
I noticed that previously the icons were in $prefix/share/inkscape/icons
, whereas now they are in $prefix/share/inkscape/icons/hicolor/symbolic/actions
.
Note that Nix installs each package into a separate prefix so we often need to set some environment variables (eg. XDG_DATA_DIRS
). Maybe that was missed here.
Changing the icon set to Tango in preferences does not help (I tried restarting the app).
According to strace, the directory is looked up:
stat("/nix/store/qjzknc120lx07xhgksahlaz0xk5q0vjk-inkscape-1.0alpha/share/inkscape/icons/Tango/scalable/actions", {st_mode=S_IFDIR|0555, st_size=12288, ...}) = 0
Inkscape Version and Operating System:
- Inkscape Version: 1.0alpha
- Operating System: NixOS
- Operating System version: unstable
Downstream PR: https://github.com/NixOS/nixpkgs/pull/50286
Edited by Jan Tojnar