GNU bug report logs -
#63893
[PATCH v3 2/2] gnu: nix: Update to 2.16.1
Previous Next
Reported by: Zhu Zihao <all_but_last <at> 163.com>
Date: Sun, 4 Jun 2023 16:32:02 UTC
Severity: normal
Tags: patch
Done: "jgart" <jgart <at> dismail.de>
Bug is archived. No further changes may be made.
Full log
Message #77 received at 63893-done <at> debbugs.gnu.org (full text, mbox):
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 <at> komputilo /# nnn
bash: nnn: command not found
root <at> komputilo /# ls .
./ ../
root <at> komputilo /# ls -a
./ ../ bin/ dev/ etc/ gnu/ home/ nix/ proc/ root/ run/ tmp/ usr/ var/
root <at> komputilo /# cd root
root <at> komputilo /root# ls
root <at> komputilo /root# ls -a
./ ../ .Xdefaults .bash_profile .bashrc .cache/ .config/ .guile .nix-channels .nix-defexpr/ .nix-profile .zprofile
root <at> komputilo /root# ls .nix-profile
bin manifest.nix share
root <at> komputilo /root# ls .nix-profile/bin/
nnn
root <at> komputilo /root# .nix-profile/bin/nnn
set HOME
root <at> komputilo /root# ./.nix-profile/bin/nnn
set HOME
root <at> komputilo /root# export HOME=/home/root
root <at> komputilo /root# ./.nix-profile/bin/nnn
root <at> komputilo /root# nix-env -q
WARNING: terminal is not fully functional
Press RETURN to continue
nnn-4.8
root <at> komputilo /root# nix-env --version
nix-env (Nix) 2.16.1
This bug report was last modified 1 year and 314 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.