From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reza Alizadeh Majd Subject: Re: custom service definition files location Date: Mon, 18 Feb 2019 11:56:56 +0330 Message-ID: <1550478416.1527317.1659989904.570A990B@webmail.messagingengine.com> References: <1550423366.1181039.1659667480.7571A44C@webmail.messagingengine.com> <7B4A83CE-D70F-495C-9455-21FFDE585609@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gveGR-0006E6-I3 for help-guix@gnu.org; Mon, 18 Feb 2019 03:27:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gveGQ-0003Ie-TH for help-guix@gnu.org; Mon, 18 Feb 2019 03:26:59 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:48407) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gveGQ-0003Hi-65 for help-guix@gnu.org; Mon, 18 Feb 2019 03:26:58 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id CC444220EE for ; Mon, 18 Feb 2019 03:26:56 -0500 (EST) In-Reply-To: <7B4A83CE-D70F-495C-9455-21FFDE585609@disroot.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Thanks for your response. sure I will pass my system config file as an argument to guix: $ guix system reconfigure /etc/confg.scm but my question is about to detect my custom service definition files ( myservice.scm ) in order that I could use them inside my config.scm . for existing services, their definition files are located in store, in `/gnu/store/.../gnu/service/` path. Best, Reza On Mon, Feb 18, 2019, at 2:22 AM, nly wrote: > Guix system is declared in 1 file. The file may be 'config.scm',or > 'xyz.scm', or even 'foo.bar'. > > It is not automatically detected by 'guix system' commands(you might be > thinking of nix). > > It is supplied as a command-line argument with the 'guix system' > commands. Check 'guix system --help'. > > On February 17, 2019 5:09:26 PM UTC, Reza Alizadeh Majd > wrote: > >Hi, > > > >does anyone know where do I have to place my custom service definition > >`.scm` files, > >in order to automatically be identified by `guix system reconfigure` > >command? > > > >Thanks, > >Reza > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity.