From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SAzXGg6lFWRTYQAASxT56A (envelope-from ) for ; Sat, 18 Mar 2023 12:48:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iF6QGg6lFWQVOgEAauVa8A (envelope-from ) for ; Sat, 18 Mar 2023 12:48:30 +0100 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 2ADA014B2B for ; Sat, 18 Mar 2023 12:48:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdV2b-0005w1-7i; Sat, 18 Mar 2023 07:48:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdV2X-0005pB-83 for help-guix@gnu.org; Sat, 18 Mar 2023 07:48:01 -0400 Received: from gabriel-smtp.zfn.uni-bremen.de ([2001:638:708:32::15] helo=smtp.uni-bremen.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdV2U-0007Kx-U9 for help-guix@gnu.org; Sat, 18 Mar 2023 07:48:00 -0400 Received: from [192.168.178.52] (ip4d16eb70.dynamic.kabel-deutschland.de [77.22.235.112]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.uni-bremen.de (Postfix) with ESMTPSA id 4PdzlF17v6zDCbY; Sat, 18 Mar 2023 12:47:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uni-bremen.de; s=2019; t=1679140073; bh=2UfR9D/4mIhx/l7QDLOxisr0Toip+CbY6jAvW0Q2gV0=; h=Date:To:References:From:In-Reply-To; b=TD+O4vrjup2lx/TqQL+hJCIPEK7lRwbPMg5TZJDgk5rxfnZ+gLW5DSUJ+ywVpX6+m S3/JMAM/O/RYaI8WmWTUQqaKHcET20kK6Cdk+41zf+yL+8ZIpN79LZsOQzvkalFdEp UHBy6VvZJzkWNEmpxwZXLu6gmvK2If2gtxqCKA8LlfAkiQXLu7SftvBECTdVDRIj44 ZOeffleOuvmOLi0b17N5zQa7JA1+t7+j9kkT0+uDTXyvWrt8DZ6KnhzYW27ohbIw1M vVhkh3tiRq3i/Xl1VqNgj0g+S09r9H7Pmfkafqobk25cQSfWBRHhSFlz422wByxp+f Qs/qoD0wDgIww== Message-ID: <2e5ab249-c759-7fce-58e2-ebeeac7fbacc@uni-bremen.de> Date: Sat, 18 Mar 2023 12:48:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: creating a manifest Content-Language: de-DE To: Gottfried , help-guix@gnu.org References: From: Martin Castillo In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:638:708:32::15; envelope-from=castilma@uni-bremen.de; helo=smtp.uni-bremen.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uni-bremen.de header.s=2019 header.b=TD+O4vrj; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uni-bremen.de (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679140110; a=rsa-sha256; cv=none; b=gleE6VqnrUjvNMfqoUtwjE4o/UnZsJGxE/fR32k+1EBeum/iznx2t9bkKaaaDt1gW9uHM9 P2odoCI+oTAoB+GA265kf4vJfzSpePxVhS+f3bPCPKBfpWH1F4n4By+MDlQ3mHI3Ln5G6M 6RTDm1xY+TJUVbRxOTVXElKv+jsWfID/FKKqx2VaHLeYNw0/WLkWTgwumLtj+1VHG4aQJP KSvYG1J6X9t5XXRI5gcPiotLW81ApDfVo4pG4iuGunzfBHwiJAo3XDVfPM3yb0a5/SnDl4 QCWWMNlQMKNpYRH3lY6VIOo9OzE3VE088IJoIyfAa+sWvuGzbdeGIlBezCc3Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679140110; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=QDLv2nplmnyA0Jm2Pn6/6YZ0rilSwV5LE3MuiojPhBU=; b=U73wW5GrdFWJr2/WVxqCPdUB6snxv8bvs0lgRpcFkPVJZjFxhNBc8C9sVxYOg/TIEY0dYN 6INbe5vw9AbPilqW2rz/d9da9I9pseFnBtU8aJnBIdNLtaJncxCCcdv9SQ/97iODkIs3pG 4DozBQNrZ+zeiuem3acbu+5EBlY+/AdOaOyUS6BF73EiTesQfelDQ2//LfkA1alRxATlb0 ekUBJYYPNvv+pYmJABt+bracnGBQQBjG7X7A3OLwcIJQyBDsQtHEdKqG1IzCYj2hg9QmGm YXSla1kF5M+yyiPeE4gbQOdF5ElrdrAPD5PiimKIcyNtWxhThVC83vFW5LxMVA== X-Migadu-Spam-Score: -2.15 X-Spam-Score: -2.15 X-Migadu-Queue-Id: 2ADA014B2B X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uni-bremen.de header.s=2019 header.b=TD+O4vrj; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uni-bremen.de (policy=none) X-TUID: Z5sjRqg6zuwM Hi, Am 18.03.23 um 11:50 schrieb Gottfried: > Hi, > > I wanted to create a manifest for music, > ......................................................................................... > my "musik.scm": > > ;; Manifest Musik Programme > (use-modules (gnu packages version-control))If this is the whole file, this use-modules is unnecessary. > > (specifications->manifest ’("Musescore '--with-branch=musescore=v3.6.2" > "Ardour" "Audacious" "Audacity" "OBS Studio" "VLC Media Player")) The cryptic error message is about an unexpected character, namely (specifications->manifest ’ <- this backtick It needs to be the ascii >'<. If you fix that, you get new errors. If you read the info page "Writing manifests", you'll see you have to use the package names like when using `guix package -i musescore` etc. when using specifications->manifest. guix search musescore would show you under `name:`, that the musescore package (in guix) is named in lowercase. Also OBS Studio is called obs, vlc is called vlc etc. But you can not add cmdline args like --with-branch. For that you need to instead create a new package definition for musescore version 3.6.2. The info page gives you an example, which you just adjust. Using guix edit musescore you see how musescore is defined. You can notice, there is a version field. So lets create a new package with adjusted version: (define musescore-3.6.2 (package (inherit musescore) (version "3.6.2"))) ;; We create this manifest from a _package_, and not from a ;; _specification_ (which is just something like a string "musescore") (packages->manifest (list musescore-3.6.2)) So now putting everything together: ;; Manifest Musik Programme (use-modules (gnu packages music) (guix packages)) (define musescore-3.6.2 (package (inherit musescore) (version "3.6.2"))) ;; combine both manifest lists: (concatenate-manifests (list (packages->manifest (list musescore-3.6.2)) (specifications->manifest '("ardour" "audacious" "audacity" "obs" "vlc")))) > > .......................................................................................... > > gfp@Tuxedo ~$ guix package -p /home/gfp/Projekte/Musik -m > /home/gfp/Projekte/Musik/musik.scm > > .......................................................................................... > I got this message: > > /home/gfp/Projekte/Musik/musik.scm:4:26: error: #{\x2019;}#: unbound > variable > hint: Did you forget a `use-modules' form? > > > I surely made a mistake in my "musik.scm" > but playing around for hours > I prefer to ask. > > > Kind regards > > Gottfried >