From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ABNdK8sswl/dWQAA0tVLHw (envelope-from ) for ; Sat, 28 Nov 2020 10:56:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aI4tJ8sswl8pWwAAbx9fmQ (envelope-from ) for ; Sat, 28 Nov 2020 10:56:11 +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 4BD899400D3 for ; Sat, 28 Nov 2020 10:56:11 +0000 (UTC) Received: from localhost ([::1]:43542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kixtg-00083J-7c for larch@yhetil.org; Sat, 28 Nov 2020 05:56:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kixtZ-00082l-Sz for bug-guix@gnu.org; Sat, 28 Nov 2020 05:56:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kixtZ-0004Gt-L0 for bug-guix@gnu.org; Sat, 28 Nov 2020 05:56:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kixtZ-0007eu-IS for bug-guix@gnu.org; Sat, 28 Nov 2020 05:56:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44893: `guix deploy` doesn't recognize option --dry-run Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 28 Nov 2020 10:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44893 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jesse Gibbons , 44893@debbugs.gnu.org Received: via spool by 44893-submit@debbugs.gnu.org id=B44893.160656095029423 (code B ref 44893); Sat, 28 Nov 2020 10:56:01 +0000 Received: (at 44893) by debbugs.gnu.org; 28 Nov 2020 10:55:50 +0000 Received: from localhost ([127.0.0.1]:47010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kixtN-0007eU-Ri for submit@debbugs.gnu.org; Sat, 28 Nov 2020 05:55:50 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:37239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kixtJ-0007eB-45 for 44893@debbugs.gnu.org; Sat, 28 Nov 2020 05:55:48 -0500 Received: by mail-wr1-f50.google.com with SMTP id i2so8201436wrs.4 for <44893@debbugs.gnu.org>; Sat, 28 Nov 2020 02:55:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=XE5kbdd2yhW2tet7gMzn5rLL5ywL+qAGuXJZWOmQiog=; b=XESM0QubWVxkA2A0tZt3JpgGgAj73qcMYKjjBbKVA7mRyjT8jZDsfmYGsEzowLw7N9 d+2kdTfJwffv/6bn8VBKuQ3Uqo7nPW1bGzadn+iDOrz3amJwkCMvEcCEZbKOXB9y3rvy 74KXdXxeSaaMNTgZFG9UPwecB+4mt+yDwdpve1gUYm7mrz2Ay9/9LvBy/MUYGtHQw9XD W+B/+4odeoYd9caY0LWYGgA5/PuTUGdOJtQ2575FP5kw0HmGFZfZKNjkNO7UzPPBc0KC C79aspDoHzf/8VzjsNvuEzQO8lGCjChSykbN8ULFPRW9UHup5RvhOjtZ4AshvghA6fRW lieg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=XE5kbdd2yhW2tet7gMzn5rLL5ywL+qAGuXJZWOmQiog=; b=MvrMzSrl48lznG/DgcOU5ClKgtuh/34UvfKk+oNyIBvFPIWlp6LEXBRCQ4dErC7clH BdKt1/D7w6GZ29JXbvmSwCF9/1Wh811waVPRnFbnqVrz3/+DKETvMRwTKjSibivB+SPi P5ruu8d0NhBQjEVNr3O0dCIWawopx6CqTpOf7mBhlUBL+mqAFzYuuCQSc4quzLQANg7w LvVpn//jQ6tj87i/RkNQvjL0lY4BehavXACRLcQK54QWSn57J2LokpzytxRDaGFxvnJc yJ+S2TV/rlNi5RRJNkwP7qfvVqZWJU/st4CiWfB4MU4bVwgcoleEggRAK7XO0QbkhNjV mvzg== X-Gm-Message-State: AOAM533jppj8+yM1S9Bpq4bj/IyuoZ8CYgIiQHRzqZOeAJCv9W34v07n Hn34e0kt5XbwosCFfSg8zQZLMOP0wGkxVQ== X-Google-Smtp-Source: ABdhPJxAmDZp5ILKdSnD7/ojf/i79sB09YjHaRszecq6xd1G+Jzv/Kavee/2fcednO2qgmDpsPWdlQ== X-Received: by 2002:adf:f3cf:: with SMTP id g15mr16867120wrp.71.1606560938858; Sat, 28 Nov 2020 02:55:38 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id q12sm18722478wrx.86.2020.11.28.02.55.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Nov 2020 02:55:38 -0800 (PST) From: zimoun In-Reply-To: <33204938-938e-a699-85c0-89c97bbf09b6@gmail.com> References: <33204938-938e-a699-85c0-89c97bbf09b6@gmail.com> Date: Sat, 28 Nov 2020 11:48:44 +0100 Message-ID: <867dq5rc37.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.17 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=XESM0Qub; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-TUID: Qdg6IvY5VcTL Dear, Thank you for the report. On Thu, 26 Nov 2020 at 13:11, Jesse Gibbons wrote: > --dry-run is an option listed in `guix deploy --help` but when I try it,= =20 > it isn't recognized: > > $ guix deploy --dry-run deploy.scm > guix deploy: error: dry-run: unrecognized option Yeah, it is because =E2=80=99show-build-options-help=E2=80=99 is used. I a= m not using =E2=80=9Cguix deploy=E2=80=9D and the question is: are all the build option= s working? The build options of =E2=80=99show-build-options-help=E2=80=99 are: -L, --load-path=3DDIR prepend DIR to the package module search path -K, --keep-failed keep build tree of failed builds -k, --keep-going keep going when some of the derivations fail -n, --dry-run do not build the derivations --fallback fall back to building when the substituter fails --no-substitutes build instead of resorting to pre-built substitutes --substitute-urls=3DURLS fetch substitute from URLS if they are authorized --no-grafts do not graft packages --no-offload do not attempt to offload builds --max-silent-time=3DSECONDS mark the build as failed after SECONDS of silence --timeout=3DSECONDS mark the build as failed after SECONDS of activi= ty --rounds=3DN build N times in a row to detect non-determinism -c, --cores=3DN allow the use of up to N CPU cores for the build -M, --max-jobs=3DN allow at most N build jobs --debug=3DLEVEL produce debugging output at LEVEL The relevant piece of code is: --8<---------------cut here---------------start------------->8--- (with-status-verbosity (assoc-ref opts 'verbosity) (with-store store (set-build-options-from-command-line store opts) (with-build-handler (build-notifier #:use-substitutes? (assoc-ref opts 'substitutes?) #:verbosity (assoc-ref opts 'verbosity)) (parameterize ((%graft? (assq-ref opts 'graft?))) (map/accumulate-builds store (cut deploy-machine* store <>) machines)))))))) --8<---------------cut here---------------end--------------->8--- So most of them should work, could you confirm? What --dry-run should do in the case of =E2=80=9Cguix deploy=E2=80=9D? All the best, simon