diff --git a/default.nix b/default.nix deleted file mode 100644 index 2d7c66d..0000000 --- a/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ mkDerivation, aeson, auto-update, base, bytestring, containers -, exceptions, filepath, lens, lens-regex-pcre, lib, lsp-types -, monad-logger, mtl, myers-diff, network-uri, optparse-applicative -, pcre-light, process, QuickCheck, quickcheck-instances, random -, retry, row-types, safe, sandwich, sandwich-quickcheck -, string-interpolate, text, text-rope, time, unix, unliftio -, unliftio-core, uuid -}: -mkDerivation { - pname = "rust-notebook-language-server"; - version = "0.2.2.0"; - src = ./.; - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson auto-update base containers filepath lens lens-regex-pcre - lsp-types monad-logger mtl myers-diff network-uri pcre-light random - row-types safe string-interpolate text text-rope time unliftio - unliftio-core uuid - ]; - executableHaskellDepends = [ - aeson base bytestring lens lsp-types monad-logger mtl - optparse-applicative process retry safe string-interpolate text - unix unliftio unliftio-core - ]; - testHaskellDepends = [ - base exceptions lsp-types monad-logger myers-diff QuickCheck - quickcheck-instances row-types sandwich sandwich-quickcheck - string-interpolate text text-rope unliftio - ]; - doCheck = false; - license = "unknown"; - mainProgram = "rust-notebook-language-server"; -} diff --git a/generate.sh b/generate.sh deleted file mode 100755 index 8019c18..0000000 --- a/generate.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -cd $SCRIPTDIR - -$(nix build .#cabal2nix --no-link --json | jq -r '.[0].outputs.out')/bin/cabal2nix \ - . \ - --no-check > default.nix diff --git a/lsp-types.nix b/lsp-types.nix deleted file mode 100644 index 1cc7e23..0000000 --- a/lsp-types.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ mkDerivation, aeson, base, binary, containers, data-default -, deepseq, Diff, directory, dlist, exceptions, file-embed, filepath -, hashable, hspec, hspec-discover, lens, lib, mod, mtl, network-uri -, prettyprinter, QuickCheck, quickcheck-instances, regex, row-types -, safe, some, template-haskell, text, unordered-containers -, fetchFromGitHub, stdenv -}: -mkDerivation { - pname = "lsp-types"; - version = "2.0.0.1"; - src = stdenv.mkDerivation { - pname = "lsp-types-src"; - version = "2.0.0.1"; - - src = fetchFromGitHub { - owner = "haskell"; - repo = "lsp"; - rev = "e9d2cff6c41152a14a09c46e50c32f0d99070798"; - sha256 = "189518wh05w45j10wdv27h4dy2nbaf4dh7adh47kmjbw90cir3dn"; - }; - - dontPatch = true; - dontConfigure = true; - dontBuild = true; - installPhase = "cp -r lsp-types $out"; - dontFixup = true; - }; - - isLibrary = true; - isExecutable = true; - libraryHaskellDepends = [ - aeson base binary containers data-default deepseq Diff dlist - exceptions file-embed filepath hashable lens mod mtl network-uri - row-types safe some template-haskell text unordered-containers - ]; - executableHaskellDepends = [ - base containers directory filepath mtl prettyprinter regex text - ]; - testHaskellDepends = [ - aeson base filepath hspec lens network-uri QuickCheck - quickcheck-instances row-types text - ]; - testToolDepends = [ hspec-discover ]; - doHaddock = false; - homepage = "https://github.com/haskell/lsp"; - description = "Haskell library for the Microsoft Language Server Protocol, data types"; - license = lib.licenses.mit; - mainProgram = "generator"; -}