fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1# To use this for hacking of your Yi config file, drop into a shell
2# with env attribute.
3{ lib, stdenv, makeWrapper
4, haskellPackages
5, extraPackages ? (s: [])
6}:
7let
8 yiEnv = haskellPackages.ghcWithPackages
9 (self: [ self.yi ] ++ extraPackages self);
10in
11stdenv.mkDerivation {
12 pname = "yi-custom";
13 version = "0.0.0.1";
14 dontUnpack = true;
15 nativeBuildInputs = [ makeWrapper ];
16
17 buildCommand = ''
18 mkdir -p $out/bin
19 makeWrapper ${haskellPackages.yi}/bin/yi $out/bin/yi \
20 --set NIX_GHC ${yiEnv}/bin/ghc
21 '';
22
23 # For hacking purposes
24 passthru.env = yiEnv;
25
26 meta = with lib; {
27 description = "Allows Yi to find libraries and the compiler easily";
28 # This wrapper and wrapper only is under PD
29 license = licenses.publicDomain;
30 maintainers = with maintainers; [ ];
31
32 # dependency yi-language no longer builds
33 hydraPlatforms = lib.platforms.none;
34 broken = true;
35 };
36
37}