help-guix
[Top][All Lists]
Advanced

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

Re: Using Makefile to run guix shell?


From: (
Subject: Re: Using Makefile to run guix shell?
Date: Wed, 07 Dec 2022 15:12:30 +0000

Heya,

On Wed Dec 7, 2022 at 2:47 PM GMT, Peter Polidoro wrote:
> Is it considered bad practice to use make like this? Is there a 
> better way to do something similar?

All you need to do is have a ``guix.scm'' or ``manifest.scm'' in your project
directory, then add it to the ``guix shell'' authorised directories:

  echo $PROJECT_DIR >> ~/.config/guix/shell-authorized-directories

And then all you need to do is run ``guix shell'', and it will automatically
pick up that manifest or package file.

    -- (

Attachment: signature.asc
Description: PGP signature


reply via email to

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