all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: worldofgeese via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "63546@debbugs.gnu.org" <63546@debbugs.gnu.org>
Subject: bug#63546: (No Subject)
Date: Fri, 23 Jun 2023 07:55:19 +0000	[thread overview]
Message-ID: <PZaQAiE8KDJVOmFexeaf6CJ2ItXUVvKFZYP_f2fa7Z7960SR9e6UzMi__kBlyzuyzMqunNI-SanjLNQliXYIxQHqaY-2t0a2GdTAD8qOGM8=@proton.me> (raw)
In-Reply-To: <CAEEhgEu0pROeYvYf8ZoGsaY=j-cPW+qmj4QUFvckWQfqFJehRw@mail.gmail.com>

I'm still receiving the same error. I tested a variant of Zhu's patch by defining my own custom Nix package that sticks very closely to Zhu's, just with manpages and docs generation disabled. I can confirm Nix is running latest: nix (Nix) 2.16.0.

This is the first time I've done any kind of Guix hacking so it's a bit rough. Here's my custom Nix package.

(define-public my-nix
  (package
    (inherit nix)
    (name "nix")
    (version "2.16.0")
    (inputs (modify-inputs (package-inputs nix)
              (append rapidcheck nlohmann-json)))
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/NixOS/nix")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
         (base32 "0jizpci4zspqpqqy3n780m4wh8dzhfywaiz953xv70c7in810dra"))))
    (arguments
     `(#:configure-flags '("--disable-doc-gen")
       #:phases
       (modify-phases %standard-phases
         (replace 'check
            (lambda args
              ;; Some tests expect environment variable NIX_STORE to be
              ;; "/nix/store"
              (let ((original-NIX_STORE (getenv "NIX_STORE")))
                (dynamic-wind
                  (lambda ()
                    (setenv "NIX_STORE" "/nix/store"))
                  (lambda ()
                    (apply (assoc-ref %standard-phases 'check) args))
                  (lambda ()
                    (setenv "NIX_STORE" original-NIX_STORE)))))))))))

Attempting to run devbox shell returns 

Error: Command: /run/current-system/profile/bin/nix print-dev-env /home/worldofgeese/Downloads/projects/little_bits_of_buddha/.devbox/gen/flake/flake.nix --extra-experimental-features ca-derivations --option experimental-features nix-command flakes --json: exit status 1

[DEBUG] 2023/06/23 09:38:50 go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:72: Command stderr: path '/home/worldofgeese/Downloads/projects/little_bits_of_buddha/.devbox/gen/flake/flake.nix' does not contain a 'flake.nix', searching up
warning: Git tree '/home/worldofgeese/Downloads/projects/little_bits_of_buddha/.devbox/gen/flake' is dirty
error: opening pseudoterminal master: No such device. 

Devbox is a Nix package available from the Nixpkgs repositories intended for local development using Nix flakes.





  parent reply	other threads:[~2023-06-25  8:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-17  4:44 bug#63546: nix-channel error: opening pseudoterminal master: No such device Nathan Dehnel
2023-06-04 15:50 ` Haider
2023-06-06 16:09 ` Zhu Zihao
2023-06-07 20:03 ` bug#63546: Nix-channel error Haider
2023-06-23  7:55 ` worldofgeese via Bug reports for GNU Guix [this message]
2023-06-24  6:54 ` bug#63546: nix-channel error: opening pseudoterminal master: No such device Jonas Schneider-Bensch
2023-06-27 15:00 ` Collin J. Doering via Bug reports for GNU Guix
2023-07-01  9:54 ` bug#63546: /gnu/store/6wv8x4115jykg58fdgcjfka12vp2vms6-glibc-for-fhs-2.35/lib Haider

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='PZaQAiE8KDJVOmFexeaf6CJ2ItXUVvKFZYP_f2fa7Z7960SR9e6UzMi__kBlyzuyzMqunNI-SanjLNQliXYIxQHqaY-2t0a2GdTAD8qOGM8=@proton.me' \
    --to=bug-guix@gnu.org \
    --cc=63546@debbugs.gnu.org \
    --cc=worldofgeese@proton.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.