From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 5q78FofqamFhfgAAgWs5BA (envelope-from ) for ; Sat, 16 Oct 2021 17:06:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CMXpEYfqamHqUgAAbx9fmQ (envelope-from ) for ; Sat, 16 Oct 2021 15:06:47 +0000 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 35DACEBAB for ; Sat, 16 Oct 2021 17:06:46 +0200 (CEST) Received: from localhost ([::1]:40110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mblGm-0001Qe-Kg for larch@yhetil.org; Sat, 16 Oct 2021 11:06:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mblGS-0001QC-Mt for help-guix@gnu.org; Sat, 16 Oct 2021 11:06:24 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:35457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mblGQ-0003QB-MJ for help-guix@gnu.org; Sat, 16 Oct 2021 11:06:24 -0400 Received: by mail-lf1-x132.google.com with SMTP id p16so55526045lfa.2 for ; Sat, 16 Oct 2021 08:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=otfskqWIZO2FqCzKSPun0ikXqoezABFhGf9z19tJMag=; b=KRDUFiZQ/1UiSoqsahNmncRNzwbf7+pmKcOiitGDAfl2IvBF/9kJCrjvciSJGUjRku /T9lVr6KzsKK75Ykk0MIsoPgzxRqGy9DVz245lZLZgYJ/9QrUoaJOQI7TJq597r0Y0yX JRFDi09OwVdN9eFevTOdD3WVyZruA4aFoV+NWCjiPR5kFgYM0vgT6YPId2NBrZnueMef 6GugpIOeAqXUII5r0xEciKzRhzzkbnnzSeqxlshUd7kWhAyjNb8CyK5kV2QddwRR685z 8bXFZUgp0DX753oz8RdvEkUpnMvprBbI9vhjUj0zbNG/j9rGvkC/FOa537e2baiUi0gF xFRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=otfskqWIZO2FqCzKSPun0ikXqoezABFhGf9z19tJMag=; b=Lwe9F2TkEF/lXOWuqiLkXQT5PX6FvMeZ5seF+ykhKbXjQ5GrSWfMtwmI9giJNY1sym ja85hmVg/OEcItQcs1jQdJvWkZNBorfht7tSFGbnS74ytef4ZOJRg2PYAysc+5WZg0OO Fk3ImOo62NipWkysB9k7CrgJnJuH8ozQ1wucyo5TwsMayghpGGKJiYlXgMZxM3OfHsvV EVY0QIjWGdNKNmob8Uokt8zN7XshmCn3Ei1/7MESPmqRsdNCf+kcS8gpFLSRnZ2v8snf lTgaB6z3DAdsWyQFVaqOTeKvpWhODTUFjHdDxbnK/cVsGVdms+piMJsfyj3+qX4334YL tphg== X-Gm-Message-State: AOAM530mFA2Y/gq4ifbJzlUEASrki/IJ2CuV5Rbs/C1OqFCdXZY4BKLl 0E+q7jONWU/VO3O5GmmCE9eX0kFyXMk= X-Google-Smtp-Source: ABdhPJzPNk2aslR+TjaRYf+rLU2fiNEMj2oUmzuYVFlhoSOH3LcRP/0DAeD/Jv1fpMFnktr+5nQNBA== X-Received: by 2002:a2e:a40f:: with SMTP id p15mr20192704ljn.497.1634396780335; Sat, 16 Oct 2021 08:06:20 -0700 (PDT) Received: from guixsd ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id h23sm944964ljl.35.2021.10.16.08.06.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Oct 2021 08:06:19 -0700 (PDT) From: Oleg Pykhalov To: Fredrik Salomonsson Subject: Re: Question about scripts in guix-home References: <87r1clfxcp.fsf@posteo.net> Date: Sat, 16 Oct 2021 15:40:51 +0300 In-Reply-To: <87r1clfxcp.fsf@posteo.net> (Fredrik Salomonsson's message of "Sat, 16 Oct 2021 03:43:34 +0000") Message-ID: <87ilxx87n0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=go.wigust@gmail.com; helo=mail-lf1-x132.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634396807; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=otfskqWIZO2FqCzKSPun0ikXqoezABFhGf9z19tJMag=; b=Abk6K/tek4p6ckcwiCq2nPQwRngLxt00Od1YWH9EW6xG+VIkBTtiSRbPEaVjyWjUWOV1cP Cjx6+eJVjbgAu197Io5majhi5CcSYVJVoqZ7PhDscU8KmhZXauHgJXJMrcic+Fbb8o/ZTK +tuH6ovbKyOgVIBCTsBxMaiMf3OnHpHo3AKyo4+EDvDmq1OqMSmZrkhyENZZaYVJFG9k8Q 3njtDvS6amHKJT9ejdQbTe2u/AQUSrWcFH3VC2xvwe3bKvfSM4cYrUqxcpMDVM2UBV9tiz Cn6y+fnWTtBmNwCENzIh4H0zdO4j1FSdX9p7NZ0bvNWIQERf2zIqRxpvUsvCsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634396807; a=rsa-sha256; cv=none; b=CNMWYtveCzZXL7f40lySw6Ph112dbjzZ9O+gZ0j809vhc1AH9wEeqtRPvuBSuJOZwEhEpu PB09t6lYvVkWHsql5eMGYbmuYwtAY8nDTdbiyAd+JXx5MkPzg9SnVOJdM0ysqaDt0i37N2 B++9uMEy8qrYQQMjmc6k+TyxL16kdjYmUf7YkD0k5ucVWhfqXfrq3dGrlc9M82hYU+8Szx 2O+V74Kt4SIT6iG3GpdlTNrazmEiUxOBeicrnqPIL8Ko+cUmGNl008fMoRGwMwxFT4pSC1 32O2lityMppHSpMwUvigyFJ6Ek3L5hZss+fm0BJFoH09tdEwFQgp+MAszVKEiA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KRDUFiZQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -5.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KRDUFiZQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 35DACEBAB X-Spam-Score: -5.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: nJz2gOgdA8PK --=-=-= Content-Type: text/plain Hi, Fredrik Salomonsson writes: > I decided to try out guix home. But I hit a bit of a snag. I'm trying to > port my waybar config over to it, but cannot figure out how to set the > execution bit on my two custom scripts I have. I use the following, which creates ~/.local/bin/shellcheck executable file: --8<---------------cut here---------------start------------->8--- (home-environment ;; ... (services (list (simple-service 'shellcheck-wrapper home-files-service-type (list `("local/bin/shellcheck" ,(computed-file "shellcheck-wrapper" #~(begin (with-output-to-file #$output (lambda () (format #t "\ #!/bin/sh exec -a \"$0\" ~a/bin/shellcheck --shell=bash \"$@\"\n" #$shellcheck))) (chmod #$output #o555))))))))) --8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmFqyFMUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pwh5RAAvdpD4HSsascHPh4aDAKQK5W+xs52 tPZG2XR4bb6/Osnk/UseOTB976OKv0Fj1x7XahEMDJRyKAKP9cu4tvccNCOIiT94 iS/KcEX1R4IQtvjwoJIelVBol5Ck31GtvTb9eS+VsjQ/h7otrDO3I34fDCxt+nCW wOoRUMmfLDzRTGsnARoCkX4wrf1J7q5Fhl3BhGZ8t0CWjgLlmD9e+srtccwqggO2 WayBDl5EgSiYkeHV04Ir6os0RhyfXwz9bqX8DjEu+MnEbWnrxi1ByhDl8XhIov9y PggGTxDA5/KgTVKCiXkQL36A1JazvlygQm170j/1G0dWigkiF5li2aK6UGdO65kq s/JI53QdZSa01o9AzMxk1jMg8FywrZlk8mG+g9cqLhJ1Tip5M47eEbCb9D/SHV0Z pEHJIhE9NGMZs3v7hwuCrMWb8pdpPMUXUoHpQaZWmHWzgCdrcsc6P0tJ1sWpCrjH SHUfffrlBILHvevOz2+etoQEbfqyzFTMg9gnM2Jg0UVDUi/4yLSwYJb0b0CfSyHe 5M3EXpN592EAq5AgCHWtvlRH+D5QXwCWh/uZHd921JUQ5IH/LaPeE8fvoe173GYa 20tB10131dEm/I43s6G4owTQPDfB8YPPNUcep+E7piPKk5Cj3gqwR7cHJhJ4f7w6 5mEu9Nqm5apqSK0= =SpH/ -----END PGP SIGNATURE----- --=-=-=--