From 62d42ca6d96392860b426ee1febc339fdf9954af Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Mon, 20 Jun 2016 11:19:01 +0530 Subject: [PATCH] rm shell.nix, default.nix Haven't tested in a nixos/nixpkg environment for a long time and I am no longer a nix user, so removing it. --- default.nix | 27 --------------------------- shell.nix | 12 ------------ 2 files changed, 39 deletions(-) delete mode 100644 default.nix delete mode 100644 shell.nix diff --git a/default.nix b/default.nix deleted file mode 100644 index 32a0078..0000000 --- a/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -# This file was auto-generated by cabal2nix. Please do NOT edit manually! - -{ cabal, base16Bytestring, binary, cryptohash, doctest, hlint, HTTP -, networkUri, parsec, QuickCheck, tasty, tastyHunit -, tastyQuickcheck, testFrameworkQuickcheck2 -}: - -cabal.mkDerivation (self: { - pname = "functorrent"; - version = "0.1.0.0"; - src = ./.; - isLibrary = true; - isExecutable = true; - buildDepends = [ - base16Bytestring binary cryptohash HTTP networkUri parsec - QuickCheck tasty tastyHunit - ]; - testDepends = [ - doctest hlint QuickCheck tasty tastyHunit tastyQuickcheck - testFrameworkQuickcheck2 - ]; - meta = { - description = "A Bit-torrent client"; - license = self.stdenv.lib.licenses.gpl3; - platforms = self.ghc.meta.platforms; - }; -}) diff --git a/shell.nix b/shell.nix deleted file mode 100644 index b3b0789..0000000 --- a/shell.nix +++ /dev/null @@ -1,12 +0,0 @@ -let pkgs = (import {}); - haskellPackages = pkgs.recurseIntoAttrs (pkgs.haskellPackages.override { - extension = self : super : - let callPackage = self.callPackage; - in { - thisPackage = haskellPackages.callPackage (import ./default.nix) {}; - };}); -in pkgs.lib.overrideDerivation haskellPackages.thisPackage (old: { - buildInputs = old.buildInputs ++ [ - haskellPackages.cabalInstall - ]; -}) -- 2.37.2