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.
This commit is contained in:
parent
02c823a541
commit
4e5dc335e5
@ -1,21 +0,0 @@
|
|||||||
{ stdenv, ghcWithPackages, gtk3, makeWrapper }:
|
|
||||||
|
|
||||||
let
|
|
||||||
leksahEnv = ghcWithPackages (self: [ self.leksah-server self.leksah self.cabal-install ]);
|
|
||||||
in stdenv.mkDerivation {
|
|
||||||
name = "leksah-${leksahEnv.version}";
|
|
||||||
|
|
||||||
buildInputs = [ gtk3 ];
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
|
||||||
|
|
||||||
buildCommand = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
makeWrapper ${leksahEnv}/bin/leksah $out/bin/leksah \
|
|
||||||
--prefix PATH : "${leksahEnv}/bin" \
|
|
||||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
broken = true; # 2018-09-13, no successful hydra build since 2017-08-19
|
|
||||||
};
|
|
||||||
}
|
|
@ -12726,9 +12726,8 @@ in
|
|||||||
|
|
||||||
lambda-mod-zsh-theme = callPackage ../shells/zsh/lambda-mod-zsh-theme { };
|
lambda-mod-zsh-theme = callPackage ../shells/zsh/lambda-mod-zsh-theme { };
|
||||||
|
|
||||||
leksah = callPackage ../development/tools/haskell/leksah {
|
leksah = throw ("To use leksah, refer to the instructions in " +
|
||||||
inherit (haskellPackages) ghcWithPackages;
|
"https://github.com/leksah/leksah.");
|
||||||
};
|
|
||||||
|
|
||||||
libgme = callPackage ../development/libraries/audio/libgme { };
|
libgme = callPackage ../development/libraries/audio/libgme { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user