From debbugs-submit-bounces@debbugs.gnu.org Wed May 27 18:02:24 2020 Received: (at submit) by debbugs.gnu.org; 27 May 2020 22:02:24 +0000 Received: from localhost ([127.0.0.1]:50227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je480-0002eI-0N for submit@debbugs.gnu.org; Wed, 27 May 2020 18:02:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:32972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je47w-0002eA-Rf for submit@debbugs.gnu.org; Wed, 27 May 2020 18:02:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je47w-0000Ld-Jd for bug-guix@gnu.org; Wed, 27 May 2020 18:02:20 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1je47v-0005KL-6b for bug-guix@gnu.org; Wed, 27 May 2020 18:02:19 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1590616935; cv=none; d=zohomail.com; s=zohoarc; b=R/VjzzHiqYTWlCfHasdDeIg9rN3b41jNW44Ug/RHdR5oJDoeRP80dRhRszT7eLK0sQkP0qd55lqsnnEqSyjfxQ5KlD94O4Z5TKXAG50h0BrO93BBZ3Kb9pbFdlBGKkaKAlPSGptnV7IODp4lwSNblo6A+AumQflgZXFzf+Vie44= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590616935; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=ef+NU6yVh1JWd9WFlWf/kOGcqOsfPoKGZHSrzbPY5O0=; b=Ky5CpZEq4Tg7Ame+nhdqJyEcrdQ20OKhrO9ptHbIsH8KXn/sg0IFLPx9yBj+QZR56MfNGxHZen6GBnuCi/lFhSFIQUqH4FxOlgj+Iz2L00xOODZhDhi9v2uDK+3bjMhBo9vmVxKHjP/zc0CbonGN1QjiIgjG02sf0Dbs5xwBVN8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1590616935; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ef+NU6yVh1JWd9WFlWf/kOGcqOsfPoKGZHSrzbPY5O0=; b=VYjpK+Y34DKtuM04Y160BOFtzrb50hsUA0TE4Rg6jNWnL7qGp9HA8yGnTva43hbx INe1x9Ieevr76NJHgW8CY5wVRA92pRa3LzDJKip+vO2486aSbjSrzhopD3tYJte+L6f JWcn7r9rbt+XSc7uVOhsX+id68BDYuBVKO4UpUpI= Received: from localhost (p54ad4fef.dip0.t-ipconnect.de [84.173.79.239]) by mx.zohomail.com with SMTPS id 1590616931856436.9931937942075; Wed, 27 May 2020 15:02:11 -0700 (PDT) User-agent: mu4e 1.4.4; emacs 26.3 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: build systems cannot set default outputs other than "out" X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 28 May 2020 00:02:08 +0200 Message-ID: <87r1v5hw9r.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.53; envelope-from=rekado@elephly.net; helo=sender4-of-o53.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/27 18:02:17 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) For the haskell-build-system I want to offer two outputs by default: "out" and "static". However, the build system has no way to override the default as (@ (guix packages) package->bag) passes the package=E2=80=99s =E2=80=9Coutputs=E2=80=9D value to make-bag. When the package doesn=E2=80=99t define a value for =E2=80=9Coutputs=E2=80= =9D, the default '("out") is used. I suggest removing the default value from the record, so that the build system defaults have a chance. --=20 Ricardo