Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


guix (2) Versions 0.1.0

Provides functional package management with GNU Guix

cookbook 'guix', '= 0.1.0'
cookbook 'guix', '= 0.1.0', :supermarket
knife cookbook site install guix
knife cookbook site download guix

GNU Guix cookbook

The Guix cookbook provides access to the functional package management features of GNU Guix from within Chef recipes.

Supported Platforms

Any GNU/Linux system will work, but right now Upstart is the only init system supported.


<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['guix']['version']</tt></td> <td>String</td> <td>GNU Guix release version</td> <td><tt>'0.10.0'</tt></td> </tr> <tr> <td><tt>['guix']['checksum']</tt></td> <td>String</td> <td> The SHA256 checksum of the GNU Guix binary tarball corresponding to the appropriate version </td> <td><tt>'b46cd525102c6189f160bde392a31bb61e3b94fd7bf109885803e6d9a32f2ed3'</tt></td> </tr> <tr> <td><tt>['guix']['substitute_urls']</tt></td> <td>Array</td> <td>Trusted servers that provide binaries</td> <td><tt>['', '']</tt></td> </tr> <tr> <td><tt>['guix']['substitute_keys']</tt></td> <td>Array</td> <td>Public keys for all substitute servers</td> <td>An array with the public key for <tt></tt></td> </tr> </table>



Install/remove one or more packages from a user's package profile. Supported actions are :install and :remove.


guix_package 'ruby' do
  action :install

guix_package 'install a bunch of fun stuff' do
  packages ['ruby', 'emacs', 'git']
  action :install

<table> <tr> <th>Property</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>name</tt></td> <td>String</td> <td>Description of transaction (or package name if <tt>packages</tt> is omitted)</td> <td>None</td> </tr> <tr> <td><tt>packages</tt></td> <td>Array</td> <td>List of package specifications</td> <td>None</td> </tr> <tr> <td><tt>profile</tt></td> <td>String</td> <td>File name of the package profile to use for the transaction</td> <td>User's default profile</td> </tr> <tr> <td><tt>cwd</tt></td> <td>String</td> <td>Directory to perform the transaction within</td> <td><tt>'/'</tt></td> </tr> <tr> <td><tt>load_path</tt></td> <td>Array</td> <td>List of directories to search for package recipes</td> <td><tt>[]</tt></td> </tr> <tr> <td><tt>substitutes</tt></td> <td>String</td> <td>Whether or not to use pre-built binaries</td> <td><tt>true</tt></td> </tr> <tr> <td><tt>grafts</tt></td> <td>Boolean</td> <td> Whether or not to use <a href=""> grafts </a> </td> <td><tt>true</tt></td> </tr> <tr> <td><tt>user</tt></td> <td>String</td> <td>User to perform the transaction</td> <td><tt>'root'</tt></td> </tr> <tr> <td><tt>group</tt></td> <td>String</td> <td>Group to perform the transaction</td> <td><tt>'root'</tt></td> </tr> </table>





Include guix in your node's run_list:

  "run_list": [

Copyright © 2016 Vista Higher Learning, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

See the LICENSE file for the full license text.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


Initial release of chef-guix

Collaborator Number Metric

0.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric

0.1.0 failed this metric

FC013: Use file_cache_path rather than hard-coding tmp paths: /tmp/59b29ca3405ca2ee7e3dc0b0/guix/recipes/default.rb:27
FC016: LWRP does not declare a default action: /tmp/59b29ca3405ca2ee7e3dc0b0/guix/resources/environment.rb:1
FC016: LWRP does not declare a default action: /tmp/59b29ca3405ca2ee7e3dc0b0/guix/resources/package.rb:1
FC064: Ensure issues_url is set in metadata: /tmp/59b29ca3405ca2ee7e3dc0b0/guix/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/59b29ca3405ca2ee7e3dc0b0/guix/metadata.rb:1