bug#30265: Fish shell has wrong path variables

2018-09-21 Thread Pierre Neidhardt
Makes sense, that explains it. Thanks! -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

bug#30265: Fish shell has wrong path variables

2018-09-21 Thread Ricardo Wurmus
Pierre Neidhardt writes: >> In practice only a subset of these grafts are applied because, for >> instance, Fish doesn’t depend (directly or indirectly) on Ghostscript at >> run time whereas it does depend on Perl: >> >> --8<---cut here---start->8--- >> $ gui

bug#30265: Fish shell has wrong path variables

2018-09-21 Thread Ludovic Courtès
Pierre Neidhardt skribis: >> A package will be grafted when any >> of its inputs (direct or transitive) have been replaced. > > I understand why that would happen when _updating_ fish, but why does it > happen > when (re-)building it from scratch, for instance when the graft source is gone > fro

bug#30265: Fish shell has wrong path variables

2018-09-21 Thread Ludovic Courtès
Pierre Neidhardt skribis: > - Is the issue here that grafting does not support wide string literals? > Shouldn't we fix the Guix code to support wide strings as well? I’m not too keen on doing that: the scanner in (guix build grafts) would have to be quite different if it were to catch /gnu/st

bug#30265: Fish shell has wrong path variables

2018-09-20 Thread Pierre Neidhardt
> A package will be grafted when any > of its inputs (direct or transitive) have been replaced. I understand why that would happen when _updating_ fish, but why does it happen when (re-)building it from scratch, for instance when the graft source is gone from the store? -- Pierre Neidhardt http

bug#30265: Fish shell has wrong path variables

2018-09-20 Thread Ricardo Wurmus
Pierre Neidhardt writes: > I'm not so well versed in grafting, so let me ask a few questions: > > - Why is fish grafted in the first place? Almost any package can be grafted. A package will be grafted when any of its inputs (direct or transitive) have been replaced. The goal of grafting is t

bug#30265: Fish shell has wrong path variables

2018-09-19 Thread Ludovic Courtès
Hi Pierre, Pierre Neidhardt skribis: > I think Ricardo got a hunch of what's happening, except that it's not > about cache files in the user home's directory. Instead, Fish seems to > record the path to the graft source. A grep in the fish folder does not > seem to reveal anything, nor does `s

bug#30265: Fish shell has wrong path variables

2018-01-27 Thread ng0
On Sat, 27 Jan 2018, l...@gnu.org (Ludovic Courtès) wrote: > Hi ng0 and Meiyo, > > n...@n0.is skribis: > >> On Sat, 27 Jan 2018, Meiyo Peng wrote: >>> Hi, >>> >>> I am using GuixSD 0.14. After upgrading fish shell to latest >>> version(v2.7.1) and >>> running `guix gc`, fish shell does not work w

bug#30265: Fish shell has wrong path variables

2018-01-27 Thread Ludovic Courtès
Hi ng0 and Meiyo, n...@n0.is skribis: > On Sat, 27 Jan 2018, Meiyo Peng wrote: >> Hi, >> >> I am using GuixSD 0.14. After upgrading fish shell to latest version(v2.7.1) >> and >> running `guix gc`, fish shell does not work well. > > Can you explain a bit more about your setup? I assume you use

bug#30265: Fish shell has wrong path variables

2018-01-27 Thread Meiyo Peng
ng0 wrote: > Can you explain a bit more about your setup? I assume you use > fish as you user shell and not just as a shell you switch into > from a Bash enabled user, correct? My GuixSD is a fresh setup. I did no customization to fish and did not set fish as login shell. The bug I reported is r

bug#30265: Fish shell has wrong path variables

2018-01-27 Thread Meiyo Peng
Ricardo Wurmus writes: > Where are these environment variables defined? According to `share/fish/config.fish`, they are defined in fish.cpp. #+BEGIN_SRC fish # __fish_datadir, __fish_sysconfdir, __fish_help_dir, __fish_bin_dir # are expected to have been set up by read_init from fish.cpp #+EN

bug#30265: Fish shell has wrong path variables

2018-01-27 Thread Ricardo Wurmus
Hi Meiyo, thanks for the report. > I am using GuixSD 0.14. After upgrading fish shell to latest version(v2.7.1) > and > running `guix gc`, fish shell does not work well. […] > Fish shell is installed in: > #+BEGIN_EXAMPLE > /gnu/store/ajbbi9cgj9j0my7v5habp0lcysaf2a51-fish-2.7.1/ > #+END_EXAMP

bug#30265: Fish shell has wrong path variables

2018-01-27 Thread ng0
Hi Meiyo, thanks for your report. Indeed, Fish has some problems in Guix. On Sat, 27 Jan 2018, Meiyo Peng wrote: > Hi, > > I am using GuixSD 0.14. After upgrading fish shell to latest version(v2.7.1) > and > running `guix gc`, fish shell does not work well. Can you explain a bit more about you

bug#30265: Fish shell has wrong path variables

2018-01-27 Thread Meiyo Peng
Hi, I am using GuixSD 0.14. After upgrading fish shell to latest version(v2.7.1) and running `guix gc`, fish shell does not work well. #+BEGIN_EXAMPLE meiyo@guix ~$ fish fish: echo $_ " "; __fish_pwd ^ in command substitution called on standard input fish: __f