unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43465: obs icons
@ 2020-09-17 10:32 Adam Kandur via Bug reports for GNU Guix
  2020-09-19  0:35 ` Carlo Zancanaro
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Kandur via Bug reports for GNU Guix @ 2020-09-17 10:32 UTC (permalink / raw)
  To: 43465

hi everyone! tried to use obs in guix system. it has (as i think) a problem. when i install obs in my user profile and run it - it runs but without any icons. but if i run it from obs env - it works with all fancy icons.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#43465: obs icons
  2020-09-17 10:32 bug#43465: obs icons Adam Kandur via Bug reports for GNU Guix
@ 2020-09-19  0:35 ` Carlo Zancanaro
  2020-09-19  0:55   ` raingloom
  0 siblings, 1 reply; 4+ messages in thread
From: Carlo Zancanaro @ 2020-09-19  0:35 UTC (permalink / raw)
  To: Adam Kandur; +Cc: 43465

On Thu, Sep 17 2020, Adam Kandur via Bug reports for GNU Guix 
wrote:
> when i install obs in my user profile and run it - it runs but 
> without any icons.

I can confirm this happens on my machine, too.

> but if i run it from obs env - it works with all fancy icons.

I didn't know this, though. I just tested on my machine and found 
that:

 - "guix environment --ad-hoc obs -- obs" does not have icons
 - "guix environment obs --ad-hoc obs -- obs" has icons

I don't have time to dig into why right now, but I'm curious as to 
what's going wrong. I assume it's to do with an environment 
variable of some sort. Here is the output of "env" on my machine 
in the two environments (removing DISPLAY, TERM, USER, HOME, and 
LOGNAME).

$ guix environment --pure obs --ad-hoc obs -- env
PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/bin:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/sbin
CMAKE_PREFIX_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/
PKG_CONFIG_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/pkgconfig:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share/pkgconfig
QMAKEPATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/qt5
QT_PLUGIN_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/qt5/plugins
XDG_DATA_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share
XDG_CONFIG_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/etc/xdg
C_INCLUDE_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/include
CPLUS_INCLUDE_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/include/c++:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/include
LIBRARY_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib
GUIX_LOCPATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/locale
GUIX_ENVIRONMENT=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile

$ guix environment --pure --ad-hoc coreutils --ad-hoc obs -- env
PATH=/gnu/store/ylim73lin9v56d2dalk8q4a53r6ji53a-profile/bin
GUIX_ENVIRONMENT=/gnu/store/ylim73lin9v56d2dalk8q4a53r6ji53a-profile

Carlo




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#43465: obs icons
  2020-09-19  0:35 ` Carlo Zancanaro
@ 2020-09-19  0:55   ` raingloom
  2020-09-19  1:39     ` Carlo Zancanaro
  0 siblings, 1 reply; 4+ messages in thread
From: raingloom @ 2020-09-19  0:55 UTC (permalink / raw)
  To: Carlo Zancanaro; +Cc: 43465, Adam Kandur

On Sat, 19 Sep 2020 10:35:45 +1000
Carlo Zancanaro <carlo@zancanaro.id.au> wrote:

> On Thu, Sep 17 2020, Adam Kandur via Bug reports for GNU Guix 
> wrote:
> > when i install obs in my user profile and run it - it runs but 
> > without any icons.  
> 
> I can confirm this happens on my machine, too.
> 
> > but if i run it from obs env - it works with all fancy icons.  
> 
> I didn't know this, though. I just tested on my machine and found 
> that:
> 
>  - "guix environment --ad-hoc obs -- obs" does not have icons
>  - "guix environment obs --ad-hoc obs -- obs" has icons
> 
> I don't have time to dig into why right now, but I'm curious as to 
> what's going wrong. I assume it's to do with an environment 
> variable of some sort. Here is the output of "env" on my machine 
> in the two environments (removing DISPLAY, TERM, USER, HOME, and 
> LOGNAME).
> 
> $ guix environment --pure obs --ad-hoc obs -- env
> PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/bin:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/sbin
> CMAKE_PREFIX_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/
> PKG_CONFIG_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/pkgconfig:/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share/pkgconfig
> QMAKEPATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/qt5
> QT_PLUGIN_PATH=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/lib/qt5/plugins
> XDG_DATA_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share
> ...

this is the one you need:
> XDG_DATA_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#43465: obs icons
  2020-09-19  0:55   ` raingloom
@ 2020-09-19  1:39     ` Carlo Zancanaro
  0 siblings, 0 replies; 4+ messages in thread
From: Carlo Zancanaro @ 2020-09-19  1:39 UTC (permalink / raw)
  To: raingloom; +Cc: 43465, Adam Kandur

On Sat, Sep 19 2020, raingloom wrote:
> this is the one you need:
>> XDG_DATA_DIRS=/gnu/store/79d2a2zqgyg0zgvkfw2hq6k4vj1qbf41-profile/share

If that's true, then my instinct that it was related to 
environment variables is wrong, because my user profile has 
XDG_DATA_DIRS pointing into the profile, and the icons don't load. 
That might imply that OBS is looking for something that one of its 
inputs is contributing to the build environment, but which isn't 
propagated propagate into the profile when it's installed.

Carlo




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-19  1:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 10:32 bug#43465: obs icons Adam Kandur via Bug reports for GNU Guix
2020-09-19  0:35 ` Carlo Zancanaro
2020-09-19  0:55   ` raingloom
2020-09-19  1:39     ` Carlo Zancanaro

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).