Re: [WIP Patch] Adding an FHS container to guix shell
hi John! I think it sounds like a swell addition to Guix, something that I would definitely reach for time to time. good stuff. ez, b On Wed, Jul 13, 2022 at 2:26 AM Dominic Martinez wrote: > > John Kehayias writes: > > > First, I wanted to ask how people feel about such a feature. Obviously, > one use > > is to run pre-built binaries (isolated!), but this is also handy for > setting up > > development environments when not able (or wanting) to with Guix > packages only. > > For example, using the rustup [0] scripts, pretty much anything JS, or > just > > following typical Readme instructions to try out something new before > packaging. > > I won't debate the details here other than to say this topic comes up > with Guix > > and I think it is yet another useful tool for guix shell and containers. > > Absolutely! I usually have to resort to Docker containers when building > something that doesn't support GuixSD, so being able to work with them > through Guix would be amazing. > > > What about other uses for this container, like providing an isolated > environment > > to build and run software we can't do fully with bootstrap and sources > (like > > JS)? Could this become some stop-gap to allow people to work with these > > ecosystems in a more controlled way within Guix? Or an alternative build > > environment? Not entirely sure what this could mean, just thinking out > loud. > > I think an interesting idea would be to allow packages to transparently > run in the FHS container (i.e. a shim that turns 'x' into 'guix shell > --fhs-container x -- x'). That way software incompatible with GuixSD in > a way too difficult to patch could be still be packaged and used > transparently, albeit with a significant performance cost. > > Even if packages in Guix proper don't use it, it could be useful for > third-party channels or end-users to whip up packages. > > Thanks so much for this; I've been thinking about getting around to this > feature for quite a while. >
emacs-flymake-guix `guix lint -n`
Hi Guixers is there currently an emacs package that provides a flymake backend for `guix lint -n`? https://todo.sr.ht/~whereiseveryone/projects-idea/1 all best, jgart
emacs-flymake-collection fails at install phase
Hi Guixers, I'm trying to package this emacs package but it fails at the install phase: https://github.com/mohkale/flymake-collection ``` starting phase `make-autoloads' Debugger entered--Lisp error: (file-missing "Opening directory" "No such file or directory" "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...") directory-files("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-..." t "\\`[^=.].*\\(\\.el\\(?:\\.gz\\)?\\)\\'") #f(compiled-function (d) #)("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...") mapcar(#f(compiled-function (d) #) ("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) make-directory-autoloads(("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...") "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...") update-directory-autoloads("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...") (let ((backup-inhibited t) (generated-autoload-file "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) (update-directory-autoloads "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) eval((let ((backup-inhibited t) (generated-autoload-file "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) (update-directory-autoloads "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) nil) eval((eval '(let ((backup-inhibited t) (generated-autoload-file "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) (update-directory-autoloads "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) nil) t) command-line-1(("--eval=(eval '(let ((backup-inhibited t) (generate...")) command-line() normal-top-level() error: in phase 'make-autoloads': uncaught exception: %exception #<&invoke-error program: "/gnu/store/v2lzdj04qgl8419zca74s5ligkwbinaw-emacs-minimal-28.1/bin/emacs" arguments: ("--quick" "--batch" "--eval=(eval '(let ((backup-inhibited t) (generated-autoload-file \"/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-flymake-collection-2.0.0-0.cd25745/share/emacs/site-lisp/flymake-collection-2.0.0-0.cd25745/flymake-collection-autoloads.el\")) (update-directory-autoloads \"/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-flymake-collection-2.0.0-0.cd25745/share/emacs/site-lisp/flymake-collection-2.0.0-0.cd25745\")) nil)") exit-status: 255 term-signal: #f stop-signal: #f> phase `make-autoloads' failed after 0.1 seconds command "/gnu/store/v2lzdj04qgl8419zca74s5ligkwbinaw-emacs-minimal-28.1/bin/emacs" "--quick" "--batch" "--eval=(eval '(let ((backup-inhibited t) (generated-autoload-file \"/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-flymake-collection-2.0.0-0.cd25745/share/emacs/site-lisp/flymake-collection-2.0.0-0.cd25745/flymake-collection-autoloads.el\")) (update-directory-autoloads \"/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-flymake-collection-2.0.0-0.cd25745/share/emacs/site-lisp/flymake-collection-2.0.0-0.cd25745\")) nil)" failed with status 255 note: keeping build directory `/tmp/guix-build-emacs-flymake-collection-2.0.0-0.cd25745.drv-0' builder for `/gnu/store/w3jmmgw1z6ggqfg0pbjjwxi5givhwxvy-emacs-flymake-collection-2.0.0-0.cd25745.drv' failed with exit code 1 build of /gnu/store/w3jmmgw1z6ggqfg0pbjjwxi5givhwxvy-emacs-flymake-collection-2.0.0-0.cd25745.drv failed View build log at '/var/log/guix/drvs/w3/jmmgw1z6ggqfg0pbjjwxi5givhwxvy-emacs-flymake-collection-2.0.0-0.cd25745.drv.bz2'. guix build: error: build of `/gnu/store/w3jmmgw1z6ggqfg0pbjjwxi5givhwxvy-emacs-flymake-collection-2.0.0-0.cd25745.drv' failed ``` -- guix package ``` (define-public emacs-flymake-collection (let ((commit "cd2574574bda1f3d94007cdc3b7e0f8007d69716") (revision "0")) (package (name "emacs-flymake-collection") (version (git-version "2.0.0" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/mohkale/flymake-collection";) (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "0js7y1ph6r1xgaziggbx7v8jimxyz29fvlzgaq5rbd6ni332jrn5" (build-system emacs-build-system) (home-page "https://github.com/mohkale/flymake-collection";) (synopsis "") (description "") (license #f ``` wdyt