Commit 2d128a30 authored by Valentin Reis's avatar Valentin Reis

adds dhall-lsp

parent 1b11e135
Pipeline #7597 passed with stages
in 42 minutes and 24 seconds
......@@ -217,7 +217,7 @@ let
# re-export from hpkgs and add non-haskell build rule specialization
inherit (haskellPackages) repoquality;
inherit (bleedingHaskellPackages) dhall dhall-lsp-server dhall-json;
#inherit (bleedingHaskellPackages) dhall dhall-lsp-server dhall-json;
nrm-schema = haskellPackages.nrm-schema.overrideAttrs (old:{
buildInputs = old.buildInputs ++ [
......@@ -498,11 +498,40 @@ let
bld = bleeding;
deployment = pkgs.mkShell rec {
buildInputs = [pkgs.nixops pkgs.nix];
};
dhallVersion = "1.23.0";
dhall =
pkgs.stdenv.mkDerivation rec {
name = "dhall-${version}";
version = dhallVersion;
src = pkgs.fetchurl {
url = "https://github.com/dhall-lang/dhall-haskell/releases/download/${dhallVersion}/dhall-${version}-x86_64-linux.tar.bz2";
sha256 = "1fy41fy0n2yc7f2dr3bx44977380rh8dx25zjgvrp4yygrf3nlgp";
};
installPhase = ''
mkdir -p $out/bin
cp dhall $out/bin/
'';
};
dhall-lsp-server =
pkgs.stdenv.mkDerivation rec {
name = "dhall-lsp-server-${version}";
version = "0.1.0.1";
src = pkgs.fetchurl {
url = "https://github.com/dhall-lang/dhall-haskell/releases/download/${dhallVersion}/dhall-lsp-server-${version}-x86_64-linux.tar.bz2";
sha256 = "1mckdw03kqssspbfkpa413wmfnv68mx99im4n2s10w4gw2if3983";
};
installPhase = ''
mkdir -p $out/bin
cp dhall-lsp-server $out/bin/
'';
};
};
# re-exporting a full nixpkgs-like package set
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment