summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/yi/wrapper.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/yi/wrapper.nix')
-rw-r--r--pkgs/applications/editors/yi/wrapper.nix37
1 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/applications/editors/yi/wrapper.nix b/pkgs/applications/editors/yi/wrapper.nix
deleted file mode 100644
index 356a04b36e96..000000000000
--- a/pkgs/applications/editors/yi/wrapper.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-# To use this for hacking of your Yi config file, drop into a shell
-# with env attribute.
-{ lib, stdenv, makeWrapper
-, haskellPackages
-, extraPackages ? (s: [])
-}:
-let
- yiEnv = haskellPackages.ghcWithPackages
- (self: [ self.yi ] ++ extraPackages self);
-in
-stdenv.mkDerivation {
- pname = "yi-custom";
- version = "0.0.0.1";
- dontUnpack = true;
- nativeBuildInputs = [ makeWrapper ];
-
- buildCommand = ''
- mkdir -p $out/bin
- makeWrapper ${haskellPackages.yi}/bin/yi $out/bin/yi \
- --set NIX_GHC ${yiEnv}/bin/ghc
- '';
-
- # For hacking purposes
- passthru.env = yiEnv;
-
- meta = with lib; {
- description = "Allows Yi to find libraries and the compiler easily";
- # This wrapper and wrapper only is under PD
- license = licenses.publicDomain;
- maintainers = with maintainers; [ ];
-
- # dependency yi-language no longer builds
- hydraPlatforms = lib.platforms.none;
- broken = true;
- };
-
-}