help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Any clue why $GUILE_LOAD_PATH not propagated with Haunt?


From: Christopher Allan Webber
Subject: Any clue why $GUILE_LOAD_PATH not propagated with Haunt?
Date: Tue, 09 Feb 2016 18:11:47 -0800
User-agent: mu4e 0.9.13; emacs 24.5.1

Hello all,

Since 8sync became a GNU project (yay!) I figured I should actually put
a website together, and well... what better time to bust out Haunt?

I wanted to make use of the Skribe reader, so I figured I'd make use of
guix environment.  Unfortunately, the file I put together doesn't work.
The puzzling part?  Even though $PATH is propagated, $GUILE_LOAD_PATH is
not!

  bash-4.3$ guix environment -l guix.scm --pure
  bash-4.3$ haunt build
  Backtrace:
  3598: 2 [#<procedure 25b1d00 at ice-9/boot-9.scm:3597:25 (mif-args)> ((haunt 
ui))]
  2867: 1 [resolve-interface (haunt ui) #:select ...]
  In unknown file:
     ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (haunt ui)) #f]
  
  ERROR: In procedure scm-error:
  ERROR: no code for module (haunt ui)
  
  bash-4.3$ echo $PATH
  
/gnu/store/0m1wh7i21w6x6agjard3x1bd53y6h1b4-tar-1.28/bin:/gnu/store/8qcqrz4r483vbcbwx5xzy11kdkxqv0c8-gzip-1.6/bin:/gnu/store/mpgci6nb800ckc8cyi3vhm9i8h17zm2l-bzip2-1.0.6/bin:/gnu/store/kz4vzwnm7vdnxbfb3ygc91iv68rjsfmm-xz-5.2.2/bin:/gnu/store/iw4xjh2fx7lbil7m7yghz7yyrf6ks8pq-file-5.25/bin:/gnu/store/gg7yl3al4ms4p9z67k1r7k0jn918l864-diffutils-3.3/bin:/gnu/store/1g9bd3ccfpslgirikaw7wcdrspavz2xz-patch-2.7.5/bin:/gnu/store/4jmy669vqj2zkz03z6jrk26if2y2m6ad-sed-4.2.2/bin:/gnu/store/z6780v4ix4h1id452gnhl9p15rl3rx9y-findutils-4.6.0/bin:/gnu/store/c2ci62qwp62rcpbh9qgmmlyvgszvf8yn-gawk-4.1.3/bin:/gnu/store/iy9a4pk184ipkd470rvssx26rrnl2c5c-grep-2.22/bin:/gnu/store/wczs2ckr8y0m79h3nl199lx85vmidga3-coreutils-8.24/bin:/gnu/store/l1iq0lhklsiw7q7jhlw9cgdkcm6axd38-make-4.1/bin:/gnu/store/l7px210li6zviymgvp3cps6n48x7fgpl-bash-4.3.42/bin:/gnu/store/agnxzx1yza8ci0a1gz5pds8gdg8qmnz5-ld-wrapper-0/bin:/gnu/store/dki0v5cvf1mhfz571k622xvzi1nyinl2-binutils-2.25.1/bin:/gnu/store/gz9h7bicwcx3qbvnp0xgpvh50q5l104b-gcc-4.9.3/bin:/gnu/store/gybk6iz6n659njzg56vqsy5bg7irk370-glibc-2.22/bin:/gnu/store/gybk6iz6n659njzg56vqsy5bg7irk370-glibc-2.22/sbin:/gnu/store/0sb1rkqbyj2ys7f9w48kxlhalg1qz5l3-haunt-0.1/bin:/home/cwebber/bin:/home/cwebber/.gem/ruby/1.8/bin:/home/cwebber/.local/bin:/home/cwebber/.cabal/bin
  bash-4.3$ echo $GUILE_LOAD_PATH
  
  bash-4.3$ 

(... yeah I know I ought to remove that PATH modification stuff from my
.bashrc ...)

The funny thing is, if I do the same with Sly's guix.scm, everything
works well:

bash-4.3$ guix environment -l guix.scm --pure
bash-4.3$ echo $GUILE_LOAD_PATH
/gnu/store/l3flpq5s2wyvyqdwi7y1qzcmdy1h878h-guile-sdl2-0.1.0/share/guile/site/2.0:/gnu/store/l5b4ny6288f2xbd5cl211s3jcy87sj99-guile-opengl-0.1.0/share/guile/site/2.0

So maybe I'm doing something wrong?  Ideas?  File attached!

Attachment: guix.scm
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]