From mboxrd@z Thu Jan 1 00:00:00 1970 From: nly Subject: How to use gexps in builds? Date: Wed, 08 May 2019 12:03:21 +0530 Message-ID: <87ftppjw0e.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOG8x-00017q-Un for help-guix@gnu.org; Wed, 08 May 2019 02:33:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOG8x-0000RP-4z for help-guix@gnu.org; Wed, 08 May 2019 02:33:31 -0400 Received: from knopi.disroot.org ([178.21.23.139]:46562) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hOG8w-0000QV-GV for help-guix@gnu.org; Wed, 08 May 2019 02:33:31 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4C79230AD9 for ; Wed, 8 May 2019 08:33:28 +0200 (CEST) Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MdRCK8EZsMze for ; Wed, 8 May 2019 08:33:27 +0200 (CEST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org ... (build-system trivial-build-system) `(#:modules ((guix gexp)) #:builder (gexp->derivation "gnumake" #~(begin (mkdir #$output) (chdir #$output) (symlink #$gnu-make #$output))) )) ... The above form looks like it asks for too many (use-modules ...) (6 or even more). What am I missing?