Merge master into staging
Taken the version from recent channel bump, as it's well-tested. Close #11460.
This commit is contained in:
@@ -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"
|
||||
'' + ''
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nix-zsh-completions";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spwhitt";
|
||||
repo = "nix-zsh-completions";
|
||||
rev = "0.2";
|
||||
sha256 = "0wimjdxnkw1lzhjn28zm4pgbij86ym0z17ayivpzz27g0sacimga";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/zsh/site-functions
|
||||
cp _* $out/share/zsh/site-functions
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://github.com/spwhitt/nix-zsh-completions";
|
||||
description = "ZSH completions for Nix, NixOS, and NixOps";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.spwhitt ];
|
||||
};
|
||||
}
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user