commit a6ed7f807b8142ec38b054eb3a762af4a5d006f1 parent 0cc597d74273d5edc9c9411ba8d070b7668ba76d Author: Yuval Langer <yuval.langer@gmail.com> Date: Fri, 27 Oct 2023 21:00:08 +0300 Add Guix stuff. Diffstat:
A | chicken-guix | | | 17 | +++++++++++++++++ |
A | manifest.scm | | | 15 | +++++++++++++++ |
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/chicken-guix b/chicken-guix @@ -0,0 +1,17 @@ +#!/bin/sh + +env CHICKEN_INCLUDE_PATH="$HOME/chicken" \ + CHICKEN_INSTALL_PREFIX="$HOME/chicken" \ + CHICKEN_INSTALL_REPOSITORY="$HOME/chicken" \ + CHICKEN_REPOSITORY_PATH="$HOME/chicken" \ + PATH="$HOME/chicken/bin:$PATH" \ + guix shell \ + --container \ + --emulate-fhs \ + --manifest="$HOME/chicken-guix/manifest.scm" \ + --network \ + --no-cwd \ + --preserve="(^CHICKEN_|^TERM$|^PATH$)" \ + --pure \ + --share="$HOME/chicken-guix/home/=$HOME" \ + "$@" diff --git a/manifest.scm b/manifest.scm @@ -0,0 +1,15 @@ +;; What follows is a "manifest" equivalent to the command line you gave. +;; You can store it in a file that you may then pass to any 'guix' command +;; that accepts a '--manifest' (or '-m') option. + +(specifications->manifest + (list + "chicken" + "coreutils" + "entr" + "git" + "less" + "make" + "nss-certs" + "python" +))