emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63893: closed ([PATCH v3 2/2] gnu: nix: Update to 2.16.1)


From: GNU bug Tracking System
Subject: bug#63893: closed ([PATCH v3 2/2] gnu: nix: Update to 2.16.1)
Date: Wed, 12 Jul 2023 04:01:02 +0000

Your message dated Wed, 12 Jul 2023 04:00:33 +0000
with message-id <a88fd1fd7af35842e19482e3b7006070@dismail.de>
and subject line Re: [PATCH v3 2/2] gnu: nix: Update to 2.16.1
has caused the debbugs.gnu.org bug report #63893,
regarding [PATCH v3 2/2] gnu: nix: Update to 2.16.1
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
63893: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63893
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH]: gnu: nix: Update to 2.16.0. Date: Mon, 05 Jun 2023 00:29:51 +0800 User-agent: mu4e 1.10.2; emacs 30.0.50
This is a series of patch update nix to 2.16.0.
-- 
Retrieve my PGP public key:

  gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC

Zihao

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: [PATCH v3 2/2] gnu: nix: Update to 2.16.1 Date: Wed, 12 Jul 2023 04:00:33 +0000
Hi Zhu,

Thanks for the contribution. APPLIED. Sorry for the delay.

I tested this patch series in the following Guix container:

(use-modules (gnu))
(use-package-modules certs package-management)
(use-service-modules nix)

(define %simple-os
  (operating-system
    (host-name "komputilo")
    (timezone "Europe/Berlin")
    (locale "en_US.UTF-8")
    (bootloader (bootloader-configuration
                 (bootloader grub-bootloader)
                 (targets '("/dev/sdX"))))
    (file-systems (cons (file-system
                          (device (file-system-label "my-root"))
                          (mount-point "/")
                          (type "ext4"))
                        %base-file-systems))
    (firmware '())
    (packages (cons nss-certs %base-packages))
    (users (cons (user-account
                  (name "alice")
                  (comment "Bob's sister")
                  (group "users")
                  (supplementary-groups '("wheel" "audio" "video")))
                 %base-user-accounts))))

(define-syntax-rule (simple-operating-system user-services ...)
  "Return an operating system that includes USER-SERVICES in addition to
%BASE-SERVICES."
  (operating-system (inherit %simple-os)
                    (services (cons* user-services ... %base-services))))

(simple-operating-system (service nix-service-type))


Session:

root@komputilo /# nnn
bash: nnn: command not found
root@komputilo /# ls .
./  ../ 
root@komputilo /# ls -a
./  ../  bin/  dev/  etc/  gnu/  home/  nix/  proc/  root/  run/  tmp/  usr/  
var/
root@komputilo /# cd root
root@komputilo /root# ls
root@komputilo /root# ls -a
./  ../  .Xdefaults  .bash_profile  .bashrc  .cache/  .config/  .guile  
.nix-channels  .nix-defexpr/  .nix-profile  .zprofile
root@komputilo /root# ls .nix-profile
bin  manifest.nix  share
root@komputilo /root# ls .nix-profile/bin/
nnn
root@komputilo /root# .nix-profile/bin/nnn   
set HOME
root@komputilo /root# ./.nix-profile/bin/nnn
set HOME
root@komputilo /root# export HOME=/home/root
root@komputilo /root# ./.nix-profile/bin/nnn
root@komputilo /root# nix-env -q
WARNING: terminal is not fully functional
Press RETURN to continue 
nnn-4.8
root@komputilo /root# nix-env --version
nix-env (Nix) 2.16.1


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]