Skip to content

Commit

Permalink
Attempt to fix bad file descriptor.
Browse files Browse the repository at this point in the history
  • Loading branch information
kczulko committed Nov 27, 2021
1 parent 4b6e9c9 commit 24e4180
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 1 deletion.
30 changes: 30 additions & 0 deletions users/kczulko/hls-tactics-plugin.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ mkDerivation, aeson, base, containers, deepseq, directory, extra
, filepath, fingertree, generic-lens, ghc, ghc-boot-th
, ghc-exactprint, ghc-source-gen, ghcide, hls-graph, hls-plugin-api
, hls-test-utils, hspec, hspec-discover, hspec-expectations
, hyphenation, lens, lsp, lsp-types, megaparsec, mtl
, parser-combinators, prettyprinter, QuickCheck, refinery, retrie
, syb, tasty-hspec, tasty-hunit, text, transformers, unagi-chan
, unordered-containers
}:
mkDerivation {
pname = "hls-tactics-plugin";
version = "1.5.0.0";
sha256 = "0bwjkj9canxr2njjica9nbl0lmlyqvyj6ybrx2xdk533rajxbnpf";
libraryHaskellDepends = [
aeson base containers deepseq directory extra filepath fingertree
generic-lens ghc ghc-boot-th ghc-exactprint ghc-source-gen ghcide
hls-graph hls-plugin-api hyphenation lens lsp megaparsec mtl
parser-combinators prettyprinter refinery retrie syb text
transformers unagi-chan unordered-containers
];
testHaskellDepends = [
aeson base containers deepseq directory filepath ghc ghcide
hls-plugin-api hls-test-utils hspec hspec-expectations lens
lsp-types mtl QuickCheck tasty-hspec tasty-hunit text
];
testToolDepends = [ hspec-discover ];
description = "Wingman plugin for Haskell Language Server";
doCheck = false;
license = "fdsadf";
}
18 changes: 18 additions & 0 deletions users/kczulko/implicit-hie-cradle.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ mkDerivation, base, base16-bytestring, bytestring, containers
, directory, extra, filepath, hie-bios, hslogger, implicit-hie
, process, temporary, text, time, transformers, unix-compat
, unordered-containers, vector, yaml
}:
mkDerivation {
pname = "implicit-hie-cradle";
version = "0.4.0.2";
sha256 = "0mll3bp2z2nz7d1816nzq9i4hnpkcd9rq2zd4gnils79y8lnwap4";
libraryHaskellDepends = [
base base16-bytestring bytestring containers directory extra
filepath hie-bios hslogger implicit-hie process temporary text time
transformers unix-compat unordered-containers vector yaml
];
testHaskellDepends = [ base ];
description = "Auto generate hie-bios cradles";
license = "blablabla";
}
16 changes: 15 additions & 1 deletion users/kczulko/user-profile.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
{pkgs,home-manager,...}:
let

hpOverlay = self: super: {
haskellPackages = super.haskellPackages.override {
overrides = haskellSelf: haskellSuper: {

hls-tactics-plugin = haskellSuper.callPackage ./hls-tactics-plugin.nix {};

implicit-hie-cradle = haskellSuper.callPackage ./implicit-hie-cradle.nix {};
};
};
};

unstable = import (
fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz
){ config = { allowUnfree = true; }; };
){
config = { allowUnfree = true; };
overlays = [ hpOverlay ];
};

secrets = import ../../secrets.nix;
customizations = import ./customizations/all.nix { inherit pkgs; };
Expand Down

0 comments on commit 24e4180

Please sign in to comment.