From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WNX3JaFeRWKcRgEAgWs5BA (envelope-from ) for ; Thu, 31 Mar 2022 09:56:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uMujHqFeRWIaMQAAG6o9tA (envelope-from ) for ; Thu, 31 Mar 2022 09:56:17 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 14CAA2CF74 for ; Thu, 31 Mar 2022 09:56:16 +0200 (CEST) Received: from localhost ([::1]:45552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZpfD-000481-JM for larch@yhetil.org; Thu, 31 Mar 2022 03:56:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZpas-0007XM-7Z for help-guix@gnu.org; Thu, 31 Mar 2022 03:51:46 -0400 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:50548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZpao-0004fG-Vj for help-guix@gnu.org; Thu, 31 Mar 2022 03:51:45 -0400 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4KTb972tfXz8SpL; Thu, 31 Mar 2022 09:51:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1648713099; bh=ZR7qeIP3ZnOqkCLG1cpJ6b4MRbARLpZ6ZRKtKxgjy44=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=c9pc7ZpSzZKyePxACigxLZvnjBGozBlXIR8cG0ki8bV8U2XuQ2iXEdDG0dbuPaSnL +EgbQT4LLNkutLXRJZI8SaAB2jtWH3WVnBEUNjGyvFhFz+c9k95+7hrLyhbvP3gDMY 0ADzGgkLuPEXuiA2d329I6/K7Cj9P/BvbE6VL+iw= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4KTb972D3yz8SqM; Thu, 31 Mar 2022 09:51:39 +0200 (CEST) X-RUB-Notes: Internal origin=134.147.42.236 X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4KTb966pxCz8SpM; Thu, 31 Mar 2022 09:51:38 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx2.mail.ruhr-uni-bochum.de Received: from think (dslb-088-067-034-235.088.067.pools.vodafone-ip.de [88.67.34.235]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4KTb962q3XzDh18; Thu, 31 Mar 2022 09:51:38 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.2 at mail2.mail.ruhr-uni-bochum.de From: =?utf-8?Q?Daniel_Mei=C3=9Fner?= To: yann Cc: help-guix@gnu.org Subject: Re: packaging problem References: Date: Thu, 31 Mar 2022 09:51:33 +0200 In-Reply-To: (yann@moeris.xyz's message of "Wed, 30 Mar 2022 15:10:29 +0200") Message-ID: <87a6d6impm.fsf@ruhr-uni-bochum.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=134.147.42.229; envelope-from=daniel.meissner-i4k@ruhr-uni-bochum.de; helo=out2.mail.ruhr-uni-bochum.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648713377; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7QMW8q5qJ5+B8Dek1xPLNtM0H0QE8wIl76pySMhLEo0=; b=VxhPByNlPujemiweEbjh22campEmd5rwO6Q0YdfN3GGoHyAqB5H0CEO/tUwfyUlEinrtTY yCXWeggm0g+bhD2/8tfztGq9PRPqL6nvu8zrVS8d5Q9vYzaZPfJ6QPvQ0xusYBv4ZekKn5 ZD+OCelba0ipLGH9fFnVoIo2p2yvaKRGmYD+8Je+Z1vpk3UudX+sCJ2U7W0q5b+A6Xym7p DVic5QYFZPFC1V5KrFuHZLob69oh0+qLif+iYVDyPAr3+hYRPqWP93DrnwzjONld1GIEXi q7b4iGuaXmiRjsUQG7mUQJsNqdrtv4omdZY4Q1WSKAW9BQenCfLKwZtgijiX8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648713377; a=rsa-sha256; cv=none; b=lV2cS2HI9OanOwUMi+U5sYy7vRSzZzx+jTNZkugimERFeryw+30j3aNgWh5+PSA1GrKnlN 8O/Yk3tyuNfUpp45uvGnkoornvbm4DVPbXB56NIHexwSAKOE0NVzxyzpP6M/+NLAUNAnVq ac82vLmP+DgJTSNtyTpUqf1bFdib537MYbTy7vex/XxGaetEyCMHs5QKLrCynLyPpkLqEX JD69FPgtWXSs2TaG+4/htdby7Ln/9C0V9WuJ0sXEaKr7KaclMQU8K/ugcYGV8ALXUeGHBU rRSONf2NbNJU//18Nbfe+HZvrgD2FcRmWJhgZ4hIkhjwEHPlzj3/Zu5fQjpRBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=c9pc7ZpS; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.97 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=c9pc7ZpS; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 14CAA2CF74 X-Spam-Score: -9.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: dsEi61zeGQTF Hi, yann writes: > Then I tried to run it by putting myself in the directory and running: > > guix shell -f gnome-shell-extension-desktop-icon-ng.scm Looks like your file gnome-shell-extension-desktop-icon-ng.scm does not return a package object. You have to add =E2=80=98gnome-shell-extension-desktop-icon-ng=E2=80=99 at the end of the f= ile because the -f switch expects the file to evaluate to a package object. Some more remarks: IIUC, since you define the module (my-module) in the file, you can also name my my-module.scm. Then you could do guix shell -L /path/to/dir gnome-shell-extension-desktop-icon-ng without the =E2=80=98-f=E2=80=99 switch where /path/to/dir is the path to t= he directory where my-module.scm lives. Then you don=E2=80=99t need to put gnome-shell-extension-desktop-icon-ng at the end of the file. You should consider using the newer gexp-style for the arguments field and drop the #t at the end of the phases (no longer necessary), like so: --8<---------------cut here---------------start------------->8--- (arguments (list #:tests? #f #:make-flags #~(list (string-append "EXTENSIONS_DIR=3D" #$output "/share/gnome-shell/extensions")) #:phases #~(modify-phases %standard-phases (delete 'configure) ; no configure script (replace 'install (lambda _ (let ((pre "/share/gnome-shell/extensions/") (dir "ding@rastersoft.com")) (copy-recursively dir (string-append #$output pr= e dir)))))))) --8<---------------cut here---------------end--------------->8--- Best -- Daniel