git.iko.soy/typeable/nixpkgs
on master help sign in
leksah: Point to upstream repository for using it

The build in nixpkgs was broken for forever. Trying to fix it would be painful, as leksah uses a lot of overrides and custom versions. In addition, leksah works best with the GHC version matching your project, which means we'd have to make sure it builds for each of our GHC versions.

commit4e5dc335e5c368db5a9991f9060b9b261367e2c8 authorSilvan Mosberger <infinisil@icloud.com> dateSun 28 Apr 2019, 23:18 (8 years ago) parent02c823a
2 files changed+2−24
pkgs/development/tools/haskell/leksah/default.nix−21 pkgs/top-level/all-packages.nix+2−3
pkgs/development/tools/haskell/leksah/default.nixdeleted−21
@@ -1,21 +0,0 @@
1−{ stdenv, ghcWithPackages, gtk3, makeWrapper }:
2−
3−let
4−leksahEnv = ghcWithPackages (self: [ self.leksah-server self.leksah self.cabal-install ]);
5−in stdenv.mkDerivation {
6− name = "leksah-${leksahEnv.version}";
7−
8− buildInputs = [ gtk3 ];
9− nativeBuildInputs = [ makeWrapper ];
10−
11− buildCommand = ''
12− mkdir -p $out/bin
13− makeWrapper ${leksahEnv}/bin/leksah $out/bin/leksah \
14− --prefix PATH : "${leksahEnv}/bin" \
15− --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
16− '';
17−
18− meta = {
19− broken = true; # 2018-09-13, no successful hydra build since 2017-08-19
20− };
21−}
pkgs/top-level/all-packages.nix+2−3
@@ -12726,9 +12726,8 @@ in
1272612726
1272712727 lambda-mod-zsh-theme = callPackage ../shells/zsh/lambda-mod-zsh-theme { };
1272812728
12729− leksah = callPackage ../development/tools/haskell/leksah {
12730− inherit (haskellPackages) ghcWithPackages;
12731− };
12729+ leksah = throw ("To use leksah, refer to the instructions in " +
12730+ "https://github.com/leksah/leksah.");
1273212731
1273312732 libgme = callPackage ../development/libraries/audio/libgme { };
1273412733