Merge branch 'master' into closure-size

This commit is contained in:
Luca Bruno
2015-11-29 16:50:26 +01:00
241 changed files with 13028 additions and 1473 deletions

View File

@@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
sed -e "s|gettext |${gettext}/bin/gettext |" \
-e "s|which |${which}/bin/which |" \
-i "$out/share/fish/functions/_.fish"
substituteInPlace "$out/share/fish/functions/fish_default_key_bindings.fish" \
--replace "clear;" "${ncurses}/bin/clear;"
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
sed -i "s|Popen(\['manpath'|Popen(\['${man_db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py"
'' + ''

View File

@@ -15,11 +15,11 @@ buildDotnetPackage rec {
outputFiles = [ "Source/PashConsole/bin/Release/*" ];
meta = {
meta = with stdenv.lib; {
description = "An open source implementation of Windows PowerShell";
homepage = https://github.com/Pash-Project/Pash;
maintainers = stdenv.lib.maintainers.fornever;
platforms = with stdenv.lib.platforms; all;
license = with stdenv.lib.licenses; [ bsd3 gpl3 ];
maintainers = [ maintainers.fornever ];
platforms = platforms.all;
license = with licenses; [ bsd3 gpl3 ];
};
}

View File

@@ -21,13 +21,19 @@ stdenv.mkDerivation {
buildInputs = [ ncurses coreutils pcre ];
preConfigure = ''
configureFlags="--enable-maildir-support --enable-multibyte --enable-zprofile=$out/etc/zprofile --with-tcsetpgrp --enable-pcre"
'';
configureFlags = [
"--enable-maildir-support"
"--enable-multibyte"
"--enable-zprofile=$out/etc/zprofile"
"--with-tcsetpgrp"
"--enable-pcre"
];
# Some tests fail on hydra, see
# http://hydra.nixos.org/build/25637689/nixlog/1
doCheck = false;
# the zsh/zpty module is not available on hydra
# so skip groups Y Z
checkFlagsArray = ''
(TESTNUM=A TESTNUM=B TESTNUM=C TESTNUM=D TESTNUM=E TESTNUM=V TESTNUM=W)
'';
# XXX: think/discuss about this, also with respect to nixos vs nix-on-X
postInstall = ''