GNU bug report logs -
#42489
[PATCH] services: nix: Provide nix commands.
Previous Next
Reported by: Peng Mei Yu <i <at> pengmeiyu.com>
Date: Thu, 23 Jul 2020 09:27:01 UTC
Severity: normal
Tags: patch
Done: Oleg Pykhalov <go.wigust <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 42489 <at> debbugs.gnu.org (full text, mbox):
Hi,
Oleg Pykhalov writes:
>> @@ -134,7 +135,9 @@ GID."
>> (extensions
>> (list (service-extension shepherd-root-service-type nix-shepherd-service)
>> (service-extension account-service-type nix-accounts)
>> - (service-extension activation-service-type nix-activation)))
>> + (service-extension activation-service-type nix-activation)
>> + (service-extension profile-service-type
>> + (compose list nix-configuration-package))))
>> (description "Run the Nix daemon.")
>> (default-value (nix-configuration))))
>
> I don't understand what you trying to archive.
>
> Do you want to run `/gnu/store/…nix…/bin/nix-daemon` with flags, like
> ‘--debug’? It's better to add ‘extra-options’ to ‘<nix-configuration>’
> record and use it in ‘nix-shepherd-service’.
No. The nix-service is useless without commands like nix, nix-env,
nix-shell, etc. I think it's a standard that a guix service should
provide necessary commands in order to use that service.
>> @@ -35,7 +35,8 @@
>> #:use-module (ice-9 match)
>> #:use-module (ice-9 format)
>> #:use-module (guix modules)
>> - #:export (nix-service-type))
>> + #:export (nix-configuration
>> + nix-service-type))
>
> OK, but also export ‘nix-configuration?’.
That's fine. All I want is to be able to customize the
"extra-config".
Thanks.
This bug report was last modified 4 years and 353 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.