Re: Problem using multiple manifest files

2018-10-23 Thread Chris Marusich
Mikhail Kryshen writes: > Chris Marusich writes: > >> Mikhail Kryshen writes: >> >>> (use-modules (srfi srfi-1) >>> ((guix ui) #:select (make-user-module))) >>> >>> (define (load-manifest file) >>> ;; Load manifest file in a fresh module with necessary imports. >>> (let ((modul

Re: Problem using multiple manifest files

2018-10-22 Thread Mikhail Kryshen
Chris Marusich writes: > Mikhail Kryshen writes: > >> (use-modules (srfi srfi-1) >> ((guix ui) #:select (make-user-module))) >> >> (define (load-manifest file) >> ;; Load manifest file in a fresh module with necessary imports. >> (let ((module (make-user-module '((guix profiles)

Re: Problem using multiple manifest files

2018-10-20 Thread Chris Marusich
Mikhail Kryshen writes: > (use-modules (srfi srfi-1) > ((guix ui) #:select (make-user-module))) > > (define (load-manifest file) > ;; Load manifest file in a fresh module with necessary imports. > (let ((module (make-user-module '((guix profiles) (gnu) > (save-module-excu

Re: Problem using multiple manifest files

2018-10-15 Thread Ludovic Courtès
Hello, Mikhail Kryshen skribis: > Here is an example of a manifest file that loads multiple manifests and > composes them into one: > > -- > (use-modules (srfi srfi-1) > ((guix ui) #:select (make-user-module))) > >

Re: Problem using multiple manifest files

2018-10-13 Thread Mikhail Kryshen
Thaddäus Töppen writes: > Am I correct in assuming, that only one manifest file can be installed at a > time, thus all package definitions have to be in one file (or at least > imported into a main-package-file)? Yes, but since manifest file is a Guile program, you can implement any custom logic

Re: Problem using multiple manifest files

2018-10-12 Thread Ricardo Wurmus
Hello Thaddäus, > Hello Guix community, welcome! > When I use "guix package -m emacs.scm" it installs the packages and they > are available. When I then install the next manifest file's packages, the > "emacs.scm" packages are no longer available – the links in > "~/.guix-profile/bin" have bee

Problem using multiple manifest files

2018-10-12 Thread Thaddäus Töppen
Hello Guix community, I am new to Guix, and I am having trouble, using multiple manifest files. For example, I have a file "emacs.scm", containing: (specifications->manifest '("emacs" "emacs-evil")) …and then other similar files, bundling different things, like programming languages / xorg stu