Re: Profiles for Python projects

2020-06-18 Thread Marius Bakke
Hi Zelphir, Zelphir Kaltstahl writes: > I create a profile with that and it works fine: > > guix package --manifest="manifest.scm" > --profile="${GUIX_EXTRA_PROFILES}"/my-env/my-env > > Then I do the sourcing: > > GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/my-env/my-env"; source > "${GUIX_PROFILE}/e

Profiles for Python projects

2020-06-18 Thread Zelphir Kaltstahl
Hi Guix Users! Today I experimented a little with creating profiles from manifest.scm file for Python projects. I have the following manifest.scm: (specifications->manifest '("python@3.8.2" "python-falcon@2.0.0" "python-levenshtein@0.12.0" "python-jsonschema@3.2.0" "python-pytest@5.3

Re: Testing a new font

2020-06-18 Thread Simen Endsjø
Tobias Geerinckx-Rice writes: Efraim Flashner 写道: You only need to run 'fc-cache -frv', no need for the sudo or the path. Pay close attention to its output the first time, since running ’$ sudo fc-cache’ earlier might have created root-owned caches that foul things up and will need to be

Re: guix build python2 --with-source fails?

2020-06-18 Thread zimoun
Hi Tobias, On Thu, 18 Jun 2020 at 13:39, Tobias Geerinckx-Rice wrote: > Guix expects the source directory to start with the package NAME. Ah, I did not know. Thank you. Now it fails as expected. :-) > There's a very recent bug report asking to support arbitrary > --with-source=NAME=FILE. I

Re: Testing a new font

2020-06-18 Thread Tobias Geerinckx-Rice
Efraim Flashner 写道: You only need to run 'fc-cache -frv', no need for the sudo or the path. Pay close attention to its output the first time, since running ’$ sudo fc-cache’ earlier might have created root-owned caches that foul things up and will need to be manually removed (with ‘$ sudo rm

Re: Testing a new font

2020-06-18 Thread Simen Endsjø
Efraim Flashner writes: On Thu, Jun 18, 2020 at 02:08:49PM +0200, Simen Endsjø wrote: Hi, I'm new to Guix (still running in VM) trying to add a new font, but it doesn't show up in gnome-tweaks or other places. I added the font the font to fonts.scm, and ran $ ./pre-inst-env guix install

Re: Testing a new font

2020-06-18 Thread Efraim Flashner
On Thu, Jun 18, 2020 at 02:08:49PM +0200, Simen Endsjø wrote: > > Hi, I'm new to Guix (still running in VM) trying to add a new font, but it > doesn't show up in gnome-tweaks or other places. > > I added the font the font to fonts.scm, and ran > $ ./pre-inst-env guix install font-iosevka-aile >

Testing a new font

2020-06-18 Thread Simen Endsjø
Hi, I'm new to Guix (still running in VM) trying to add a new font, but it doesn't show up in gnome-tweaks or other places. I added the font the font to fonts.scm, and ran $ ./pre-inst-env guix install font-iosevka-aile I can see the fonts in ~/.guix-profile/share/fonts/truetype, but it doe

Re: guix build python2 --with-source fails?

2020-06-18 Thread Tobias Geerinckx-Rice
Simon, zimoun 写道: Why is it not possible to use '--with-source' with the package python2? λ mv tmp/{Python,python2}-2.5.2 λ guix build python2 --with-source=/tmp/python2-2.5.2 substitute: updating substitutes from 'https://guix.tobias.gr'... 100.0% substitute: updating substitutes from 'http

guix build python2 --with-source fails?

2020-06-18 Thread zimoun
Dear, As an exercise about rebuilding old versions (e.g. used by old scientific paper), I have tried to rebuild say the very old Python 2.5. My naive attempt is to start with: --8<---cut here---start->8--- wget https://www.python.org/ftp/python/2.5.2/Python-2.