From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iHZvChdM/mLJCgEAbAwnHQ (envelope-from ) for ; Thu, 18 Aug 2022 16:26:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6IRqChdM/mJ08gAAauVa8A (envelope-from ) for ; Thu, 18 Aug 2022 16:26:31 +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 B26C6398F1 for ; Thu, 18 Aug 2022 16:26:30 +0200 (CEST) Received: from localhost ([::1]:47908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOgTd-0000VK-RS for larch@yhetil.org; Thu, 18 Aug 2022 10:26:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOgTK-0000R3-Cm for help-guix@gnu.org; Thu, 18 Aug 2022 10:26:10 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:33544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOgTI-00046R-Rp for help-guix@gnu.org; Thu, 18 Aug 2022 10:26:10 -0400 Received: by mail-wr1-x434.google.com with SMTP id k9so1961847wri.0 for ; Thu, 18 Aug 2022 07:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc; bh=NmMQQu+4KQ9KK9r6kep/y86erFsLYzDV5GO6S7purwQ=; b=DWbyFb9cwAe5J97OVbG0fjjQi5N58/d02MkJdnN3fPFhVqoBgshRHNsKb+fJclKpVg IJwZu9To9DYWAEXmxPjyh4Bzx40RehEOBbKmRaFkNESPiPfoxA5+W+sdijcqkDPUwuZn Qdg7uyi5bQbWSwHiDGp+tjjcf6w3OZ3JheHyAAYa+zrqudXV87LrOYjzHiXJ9ibsfj0B 5dAaZj4b5evmzAuoh2u+l/go6/n0wIBgEOYLtxaZHxx59A1BJBVeQv6o5373ApXpNDOy rbCPXcOCvLEMSNaEhVxBMRz+CAQbqDCIUJO9D+VrkNNAKJvD/OemxQqEoJ615fgOSL9K jtwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc; bh=NmMQQu+4KQ9KK9r6kep/y86erFsLYzDV5GO6S7purwQ=; b=TaFdyTOWeXC/1GJKVTHHFqTRlZYTeX8DixGXzhMonMWLYBfKR6J/HeAaTnYbiiZiT/ 3tc4/oMV4GGaOvO6WIjpfmbRJ7twAMpvqV7KOJDccfpftgWsPbABvHdQ6MHfz5FbplzN DUKZr4+QOdpben+p6jjHG3mP907Ztu/A/VVOOcBY37nZvWDUmiGWB+NhwXJPZJ9yw5VR n7yk82AEqWW17UozLrYPwE1Bzu7lI/DMVfeB4N7mTgc4VEVgINNMAzhEBw3xmX/LzvgD kSShTJE4/awEpZcqGkl4iaFvWFzmVggAhNuJXwVlJhpWKtw73aSjkSdQxUDp5/QR/fjh qUEw== X-Gm-Message-State: ACgBeo28m9GdUGr8eUUGulEniFCp3PBFWdKMxlxS1fQC8SkjcN6iliW8 DPfR5idpxpo73C5BucsTWb61o2eR4mQ= X-Google-Smtp-Source: AA6agR7BhXYzRAPp1odU3+MnFxZiKZiE+FTUvVLrd0uGVkEU0uOMWNDjT3TEtmu/zWqrHWCAaIELIA== X-Received: by 2002:a05:6000:1561:b0:225:337b:454b with SMTP id 1-20020a056000156100b00225337b454bmr505606wrz.660.1660832767040; Thu, 18 Aug 2022 07:26:07 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id m7-20020a5d6247000000b0021db7b0162esm1547979wrv.105.2022.08.18.07.26.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 07:26:06 -0700 (PDT) From: zimoun To: calcium , help-guix@gnu.org Subject: Re: Create package to add new files In-Reply-To: <03f9e00e-3eb8-d6f3-ea71-7ff49a2126c3@disroot.org> References: <03f9e00e-3eb8-d6f3-ea71-7ff49a2126c3@disroot.org> Date: Thu, 18 Aug 2022 16:19:55 +0200 Message-ID: <86k075bpmc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1660832791; 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=NmMQQu+4KQ9KK9r6kep/y86erFsLYzDV5GO6S7purwQ=; b=n0ZcbIEno5Qat6b/M96kWo3H/KgltJqepEnAFfvZ1iqYWZ+UNPIYTPfK2Fz+/Z0szX4rb+ uN+XhE3OXm8febqhVuoDry1+VZ0/gC3DwqusYUW6Gg7IFv2JfChH4EWf684aZu9fHQv397 v1UlOWfTfJrJFJUgFnX9wWL3Hbj40uQEMMWwP6t39ji61Oa87pK96JX82DWas4/n8CGs0/ apieuR2mr3fkggI01FDgivF67p22dd6bZntaEeziFAi8QW0SH33T59jsASEnJ0+3x1uzAK G7jq54GKam26qGIsO/whKkBu4ikzp+T9LzFQdGi6hXC8BrONk5h5gGcvbIHulQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660832791; a=rsa-sha256; cv=none; b=nnKmQLcD8PNORUGZ7CSfQnECp4Ef65JVZQ1mVLNo4+3bpMY8ap+oRTQd0mvClvLodFNpAf O9tRDeNMefc1v/vf04YsLOpTTADv9wsb1uCu/i/cAYF/ZPFdWNPdjAkt+/TIxchKIt+Tg8 9VFR6/Y4TLgo8VYkj3u3/riJQPB4TR3aQHsq8Zro1IBCui8oqU+iAqLznT26q+s0s0aSXG Rgg2i1HC9tHXHxIpK4d9DQfZjzXyMCWwlBosgS8xR9mSeeRSLk6i64p3ryKZvyp1zEfI7m Cv5OYudVzjLIKW/SQNkhAHzjChWpU89Z8liqN2KDkdQZKxX4SaY7dAUPiDU0pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DWbyFb9c; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.86 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DWbyFb9c; dmarc=pass (policy=none) header.from=gmail.com; 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: B26C6398F1 X-Spam-Score: -3.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: O1obxQ0U8JUz Hi, On Mon, 27 Jun 2022 at 22:22, calcium via wrote: > I tried using the procedures text-file* and plain-file but I can't > manage to make it works. Well, I am not sure it is what you are looking for. There are from G-expressions [1] when you probably just want install some files. 1: > (replace > 'install > (lambda* (#:key outputs #:allow-other-keys) > ;; The package's Makefile doesn't provide an "install" > ;; rule so do it by ourselves. > (let ((filter-dir > (string-append (assoc-ref outputs "out") > "/lib/cups/filter")) > (ppd-dir > (string-append (assoc-ref outputs "out") > "/share/ppd/cupsfilters"))) > ;; (install-file > ;; (plain-file "brother_lpdwrapper_printer-model" > ;; "ldwrapper string/content of file")) For instance, instead of=E2=80=A6 > ;; (install-file > ;; (plain-file "brother-printer-model-cups-en.ppd" > ;; ".ppd string/content of file") > ;; ppd-dir) > ) > #t))))))) maybe this: (install-file "brother-printer-model-cups-en.ppd" ppd-dir) is what you would like. Is it? Hope that helps, simon