From patchwork Mon Jan 27 14:56:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Soo X-Patchwork-Id: 19992 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id ABC2317B8E; Mon, 27 Jan 2020 14:58:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1081D17B8D for ; Mon, 27 Jan 2020 14:58:26 +0000 (GMT) Received: from localhost ([::1]:46508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw5qL-0007xG-Jz for patchwork@mira.cbaines.net; Mon, 27 Jan 2020 09:58:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41394) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw5q6-0007x2-1r for guix-patches@gnu.org; Mon, 27 Jan 2020 09:58:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw5py-0005gT-KV for guix-patches@gnu.org; Mon, 27 Jan 2020 09:58:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iw5py-0005ep-AD for guix-patches@gnu.org; Mon, 27 Jan 2020 09:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iw5py-00051z-9J for guix-patches@gnu.org; Mon, 27 Jan 2020 09:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39309] .[PATCH] WIP gnu: add stack. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Jan 2020 14:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39309 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39309@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158013703919278 (code B ref -1); Mon, 27 Jan 2020 14:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2020 14:57:19 +0000 Received: from localhost ([127.0.0.1]:58844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iw5pH-00050s-5Q for submit@debbugs.gnu.org; Mon, 27 Jan 2020 09:57:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:38287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iw5pF-00050j-Ma for submit@debbugs.gnu.org; Mon, 27 Jan 2020 09:57:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41116) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw5p8-0007sK-DN for guix-patches@gnu.org; Mon, 27 Jan 2020 09:57:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw5p0-0001y8-6s for guix-patches@gnu.org; Mon, 27 Jan 2020 09:57:09 -0500 Received: from mail-vk1-xa33.google.com ([2607:f8b0:4864:20::a33]:34485) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iw5oy-0001kU-UC for guix-patches@gnu.org; Mon, 27 Jan 2020 09:57:02 -0500 Received: by mail-vk1-xa33.google.com with SMTP id w67so2716171vkf.1 for ; Mon, 27 Jan 2020 06:57:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=J3IMLUOhUIAp4CtokPxryToHRM/9SjUicBzVsW7eG2A=; b=eTQ3mRKGGTUh80AtS8fdvstgMAoVK3rcpG0rayTGOkZ1g+rbNz1gaigbTX2rGrxHd8 ZuonL+L5+QGUD4FFqm+u2cHCGF21YW7LNdGx2IU0Z29P/LyUBp/EzrjniZoYKZeR2d43 GyPWLB9vpHkHCjNH9fy95UjnkFjQx5l6eus33XpJpDiK8EKZccBIiwg0z7eZq0/4h391 hoMWxo34mhwRE0lYZnIdgRNJ6KE+PnX23bgeM9ucuLrpjmxM1Qd7/JbRiWYJmjTCyNk/ ueyZWAzhl/GgFR7Gi7zV3Q/S3PEkyeRYd8vhTJOnzCDL4VjuHc263okmBf+15gllQv8j ldrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=J3IMLUOhUIAp4CtokPxryToHRM/9SjUicBzVsW7eG2A=; b=iSACsGqOY0Ux1cRWZsr1SCqjxRhB27NWG5sS84wpR21gjX2Eynm7h5FwV+66/nc5Rc FR2vtAKvmbw8LW/e1+GvtuNJQfQNoid9dOqms1SR1/qUFeGhw0jCyYtgOE6g21B3girb CZqRaZOrJ/hELd+xL6DC9uo+n2yRdttep60VL+kwR13rtoi8Sz3nB1hRfk9YNr72yc0z O7W3vKIjKFTzBI2IzmoXYR0NHeNsBranrWMmpMJFejKsThdAxTKaajbo3WdsRiTM2Etq Tt4J4vuRyOf9rYVe6yUb6aJGhlz8WDMMDHWJVDPGPbxj5wFlMsM95n64VWIr9dmOni0d S8ug== X-Gm-Message-State: APjAAAXg6YZzIi3dfGomzetZRABen/qLKj6/BnzuqB6qBaGVvMuJRk5b tLuxM9f96sn+Dz8nVtgqWY5Klz+hN4fiwRqKrnMtkEXu X-Google-Smtp-Source: APXvYqyZyHS/ALdpFp0OWCDO0OmJjV+Vz2/iH+Dj+2ZJHWPTMM6xjPbu+pR3KCcONwzQajtE3hSd32bdLleS+rIplcg= X-Received: by 2002:a1f:9b4d:: with SMTP id d74mr3839081vke.36.1580137017065; Mon, 27 Jan 2020 06:56:57 -0800 (PST) MIME-Version: 1.0 From: John Soo Date: Mon, 27 Jan 2020 14:56:44 +0000 Message-ID: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Guix, I looked at the wishlist on libreplanet and saw stack was on the list. Also after the recent thread on haskell and clojure development I realized stack would help out there. I tried to package it which seems straightforward. I got the dependencies built and linted but stack itself is failing with the following: gcc: error trying to exec '/gnu/store/...-gcc-7.4.0/libexec/gcc/x86_64-unknown-linux-gnu/7.4.0/collect2': execv: Argument list too long This looks a lot like the nix issue here: https://github.com/NixOS/nixpkgs/issues/41340 I thought I would share my work and maybe someone could help. Thanks, John From 98334694e3c5a310e4c4a1b0a421c6bfd36572c8 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:12:14 -0800 Subject: [PATCH 32/34] gnu: Add ghc-filelock. * gnu/packages/haskell-xyz.scm (ghc-filelock): New variable. --- gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 499775281d..0f8efee977 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -4200,6 +4200,31 @@ the files in a directory, and turn them into @code{(path, bytestring)} pairs embedded in your Haskell code.") (license license:bsd-3))) +(define-public ghc-filelock + (package + (name "ghc-filelock") + (version "0.1.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/filelock/filelock-" + version + ".tar.gz")) + (sha256 + (base32 + "04qimhz78jjndk686dblkx06l9jscq2q9gyr014a4pbfj4iljgi5")))) + (build-system haskell-build-system) + (native-inputs `(("ghc-async" ,ghc-async))) + (home-page + "http://github.com/takano-akio/filelock") + (synopsis + "Portable interface to file locking (flock / LockFileEx)") + (description + "This package provides an interface to Windows and Unix file locking +functionalities.") + (license license:public-domain))) + (define-public ghc-filemanip (package (name "ghc-filemanip") -- 2.25.0