pkgs/shells: enable strictDeps
This commit is contained in:
parent
0bf838dc6e
commit
ea79263e60
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper }:
|
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "any-nix-shell";
|
||||
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0q27rhjhh7k0qgcdcfm8ly5za6wm4rckh633d0sjz87faffkp90k";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ bash ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -r bin $out
|
||||
|
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1b0iz7da1sgifx1a5wdyx1kxbzys53v0kyk8nhxfipllmm5qka3k";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
# tests are super flaky unfortunately, and regularily break.
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1n5zs6xcnv4bv1hdaypmz7fv4j7dsr4a0ifah99iyj4p5j85i1bc";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
# To enable lazy loading via. bash-completion we need a symlink to the script
|
||||
# from every command name.
|
||||
installPhase = ''
|
||||
|
@ -43,6 +43,8 @@ stdenvNoCC.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
# Patch in dependencies. Can't use makeWrapper because the bash
|
||||
# functions will be sourced and invoked in a different environment
|
||||
# for each command invocation.
|
||||
|
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0xflbrbwskjqv3knvc8jqygpvfxh5ak66q7w22d1ng8gwrfqzcng";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
installPhase = ''
|
||||
|
@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
# configure.ac patched; remove on next release
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
|
@ -17,6 +17,7 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "sha256-iuklI7XEQUgZ2ObYRROxyiccZ1JkajK5OJA7hIcpRZQ=";
|
||||
|
||||
strictDeps = true;
|
||||
doCheck = false;
|
||||
|
||||
doInstallCheck = true;
|
||||
|
@ -17,7 +17,9 @@ stdenv.mkDerivation rec {
|
||||
sourceRoot=.
|
||||
'';
|
||||
|
||||
buildInputs = [ readline bison ];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ bison ];
|
||||
buildInputs = [ readline ];
|
||||
|
||||
configureFlags = [ "--with-readline" ];
|
||||
|
||||
|
@ -186,6 +186,7 @@ let
|
||||
rm tests/pexpects/exit_handlers.py
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gettext
|
||||
|
@ -2,6 +2,7 @@
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fish
|
||||
, bash
|
||||
, runtimeShell
|
||||
, writeShellScript
|
||||
}:
|
||||
@ -17,8 +18,10 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-lwMo4+PcYR9kYJPWK+ALiMfBdxFSgB2vjtSn8QrmmEA=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [
|
||||
fish
|
||||
bash
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1azvghrh31gawd798a254ml4id642qvbva64zzg30pjszh1087n8";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [ editline ];
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-ntCfXJUOQqL63HWoG+WJr9a+qB16AaL5zf58039t7GU=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase = ''
|
||||
install -D -m 0444 liquidprompt $out/bin/liquidprompt
|
||||
install -D -m 0444 liquidpromptrc-dist $out/share/doc/liquidprompt/liquidpromptrc-dist
|
||||
|
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-q5RiY9/xEFCk+oHlxgNwDOB+TNjRWHKzU2kQH2LjCWY=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
@ -47,4 +48,3 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-d64WZaM38cSMYda5Yds+UhGbOOWIhNHIloSvMfh7xQY=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0vvdwzw3fq74lwgmy6xxkk01sd68fzhsw84c750lm1dma22xhjci";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
buildInputs = [ readline ];
|
||||
|
||||
|
@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = lib.optional withReadline readline;
|
||||
configureFlags = lib.optional withReadline "--with-readline";
|
||||
|
||||
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-076nD0aPps6n5qkR3LQJ6Kn2g3mkov+/M0qSvxNLZ6o=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
postPatch = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
substituteInPlace configure --replace "./conftest" "echo"
|
||||
'';
|
||||
|
@ -11,6 +11,7 @@ buildDotnetPackage {
|
||||
sha256 = "0c4wa8qi1zs01p9ck171jkw0n1rsymsrhpsb42gl7warwhpmv59f";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
preConfigure = "rm -rvf $src/Source/PashConsole/bin/*";
|
||||
|
||||
outputFiles = [ "Source/PashConsole/bin/Release/*" ];
|
||||
|
@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ less ] ++ libraries;
|
||||
nativeBuildInputs = [ makeWrapper ]
|
||||
++ lib.optional stdenv.isLinux autoPatchelfHook;
|
||||
|
@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1n5zz6d6z4z6s3fwa0pscqqawy561k4xfnmi91i626hcvls67ljy";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ ncurses ]
|
||||
++ lib.optionals (readline != null) [ readline ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchurl, lib, stdenv }:
|
||||
{ fetchurl, lib, stdenv, bash, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rush";
|
||||
@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-ld5TdpF7siprQCbhE4oxYhH40x3QZ5NCQlD3zRaNmM0=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ bash ];
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/bin/rush-po \
|
||||
--replace "exec perl" "exec ${lib.getExe perl}"
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
@ -13,14 +13,15 @@ stdenv.mkDerivation {
|
||||
|
||||
patches = [ ./scponly-fix-make.patch ];
|
||||
|
||||
buildInputs = [ openssh ];
|
||||
|
||||
# Add path to sftp-server so configure finds it
|
||||
preConfigure = "export PATH=$PATH:${openssh}/libexec";
|
||||
strictDeps = true;
|
||||
|
||||
# chroot doesn't seem to work, so not enabling
|
||||
# rsync could also be optionally enabled
|
||||
configureFlags = [ "--enable-winscp-compat" ];
|
||||
configureFlags = [
|
||||
"--enable-winscp-compat"
|
||||
"scponly_PROG_SFTP_SERVER=${lib.getBin openssh}/libexec/sftp-server"
|
||||
"scponly_PROG_SCP=${lib.getBin openssh}/bin/scp"
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (debugLevel > 0) ''
|
||||
mkdir -p $out/etc/scponly && echo ${
|
||||
|
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-YL4sUEvY8fpuQksZVkldfnztUqKslNtf0n9La/yPdPA=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [
|
||||
ncurses
|
||||
];
|
||||
|
@ -9,6 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256:1jdmj4cyzwxxyyqf20y1zi578h7md860ryffp02qi143zpppn4sm";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ gettext ncurses ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -11,6 +11,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
sha256 = "sha256-TOfAWxw1uIV0hKV9o4EJjOlp+jmGWCONDex86ipegOY=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
|
@ -9,6 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1bmp3qf14509swpxin4j9f98n05pdilzapjm0jdzbv0dy3hn20ix";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -30,7 +30,8 @@ stdenv.mkDerivation {
|
||||
./tz_completion.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook perl groff texinfo ]
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ autoreconfHook perl groff texinfo pcre]
|
||||
++ lib.optionals stdenv.isLinux [ util-linux yodl ];
|
||||
|
||||
buildInputs = [ ncurses pcre ];
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1irjmxhcg1fm4g8p3psjqk7sz5qhj5kw73pyhv91njvpdhn9l26z";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
postPatch = ''
|
||||
substituteInPlace fzf-zsh.plugin.zsh \
|
||||
--replace \
|
||||
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "15b0692i3h8h7b95465b2aw9qf5qjmjag5n62347l8yl7zbhv3l2";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
# we just move two files into $out,
|
||||
# this shouldn't bother Hydra.
|
||||
preferLocalBuild = true;
|
||||
|
@ -14,7 +14,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-GEuBYN6HVAjiAbusVuEA7zBG9fIVZHLV628Jt6Cv5cM=";
|
||||
};
|
||||
|
||||
buildInputs = [ zsh coreutils txt2tags procps ]
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ txt2tags ];
|
||||
buildInputs = [ zsh coreutils procps ]
|
||||
++ optional stdenv.isLinux inetutils;
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0fvxnvgbcvwii7ghvpj5l43frllq71wwjvfg7cqfmic727z001dh";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase = ''
|
||||
install -Dm0644 lambda-mod.zsh-theme $out/share/zsh/themes/lambda-mod.zsh-theme
|
||||
'';
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1n9whlys95k4wc57cnz3n07p7zpkv796qkmn68a50ygkx6h3afqf";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/zsh/{site-functions,plugins/nix}
|
||||
cp _* $out/share/zsh/site-functions
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=oh-my-zsh-git
|
||||
{ lib, stdenv, fetchFromGitHub, nixosTests, writeScript, common-updater-scripts
|
||||
, git, nix, nixfmt, jq, coreutils, gnused, curl, cacert }:
|
||||
, git, nix, nixfmt, jq, coreutils, gnused, curl, cacert, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2022-04-24";
|
||||
@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "yxuvVDjNCH7r/g6ZoF8kEzwirBB0s+CRQizBwRR4Sp4=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ bash ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
|
@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-iuLi0o++e0PqK81AKWfIbCV0CTIxq2Oki6U2oEYsr68=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase = ''
|
||||
OUTDIR="$out/share/zsh/site-functions"
|
||||
mkdir -p "$OUTDIR"
|
||||
|
@ -11,6 +11,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
sha256 = "sha256-4G1+K6ENLwChtivR7Ura0vl6Ph9Wae3SOXCW1pNbgHI=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -11,6 +11,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
};
|
||||
# adapted from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zsh-zplugin-git
|
||||
dontBuild = true;
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
installPhase = ''
|
||||
outdir="$out/share/$pname"
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0hci1pbs3k5icwfyfw5pzcgigbh9vavprxxvakg1xm19n8zb61b3";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
dontPatch = true;
|
||||
|
@ -11,6 +11,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
sha256 = "sha256-+UziTYsjgpiumSulrLojuqHtDrgvuG91+XNiaMD7wIs=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase = ''
|
||||
install -D zsh-autocomplete.plugin.zsh $out/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
|
||||
cp -R scripts $out/share/zsh-autocomplete/scripts
|
||||
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1h0vm2dgrmb8i2pvsgis3lshc5b0ad846836m62y8h3rdb3zmpy1";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
installPhase = ''
|
||||
install -D autopair.zsh $out/share/zsh/${pname}/autopair.zsh
|
||||
'';
|
||||
|
@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1g3pij5qn2j7v7jjac2a63lxd97mcsgw6xq6k5p7835q9fjiid98";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ zsh ];
|
||||
|
||||
installPhase = ''
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "020f8nq86g96cps64hwrskppbh2dapfw2m9np1qbs5pgh16z4fcb";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "16z7k5n1rcl9i61lrm7i5dsqsmhvdp1y4y5ii6hv2xpp470addgy";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase = ''
|
||||
install -Dm 0644 zsh-better-npm-completion.plugin.zsh $out/share/zsh-better-npm-completion
|
||||
'';
|
||||
|
@ -6,6 +6,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = ./.;
|
||||
|
||||
strictDeps = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -19,6 +19,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "1bvyjgz6bhgg1nwr56r50p6fblgah6yiql55pgm5abnn2h876fjq";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0vs14n29wvkai84fvz3dz2kqznwsq2i5fzbwpv8nsfk1126ql13i";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase= ''
|
||||
install -D --target-directory=$out/share/zsh/site-functions src/*
|
||||
'';
|
||||
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1xnbnbi0zk2xsyn8dqsmyxqlfnl36pb1wwibnlp0dxixw6sfymyl";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace deer \
|
||||
--replace " perl " " ${perl}/bin/perl "
|
||||
|
@ -11,6 +11,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
sha256 = "0h7f27gz586xxw7cc0wyiv3bx0x3qih2wwh05ad85bh2h834ar8d";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
|
@ -13,6 +13,7 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "h/3XP/BiNnUgQI29gEBl6RFee77WDhFyvsnTi1eRbKg=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
patches = lib.optionals stdenv.isDarwin [ ./darwin.patch ];
|
||||
|
@ -11,6 +11,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
sha256 = "11r2mmy6bg3b6pf6qc0ml3idh333cj8yz754hrvd1sc4ipfkkqh7";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0y8va5kc2ram38hbk2cibkk64ffrabfv1sh4xm7pjspsba9n5p1y";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase = ''
|
||||
install -D zsh-history-substring-search.zsh \
|
||||
"$out/share/zsh-history-substring-search/zsh-history-substring-search.zsh"
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkgs }:
|
||||
{ lib, stdenv, fetchFromGitHub, bash }:
|
||||
|
||||
# To make use of this derivation, use
|
||||
# `programs.zsh.interactiveShellInit = "source ${pkgs.zsh-nix-shell}/share/zsh-nix-shell/nix-shell.plugin.zsh";`
|
||||
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-719lVo6p55G1tt3+6nMhZ904nyvlq0Q5exb0il36/Aw=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ bash ];
|
||||
installPhase = ''
|
||||
install -D nix-shell.plugin.zsh --target-directory=$out/share/zsh-nix-shell
|
||||
install -D scripts/* --target-directory=$out/share/zsh-nix-shell/scripts
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, substituteAll, pkgs }:
|
||||
{ lib, stdenv, fetchFromGitHub, substituteAll, pkgs, bash }:
|
||||
|
||||
# To make use of this derivation, use
|
||||
# `programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";`
|
||||
@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0fkfh8j7rd8mkpgz6nsx4v7665d375266shl1aasdad8blgqmf0c";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ bash ];
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./gitstatusd.patch;
|
||||
|
@ -13,6 +13,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0v1dqg9hvycdkcvklg2njff97xwr8rah0nyldv4xm39r77f4yfvq";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase= ''
|
||||
install -D powerlevel9k.zsh-theme --target-directory=$out/share/zsh-powerlevel9k
|
||||
install -D functions/* --target-directory=$out/share/zsh-powerlevel9k/functions
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, unstableGitUpdater }:
|
||||
{ lib, stdenv, fetchFromGitHub, unstableGitUpdater, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zsh-prezto";
|
||||
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ bash ];
|
||||
|
||||
postPatch = ''
|
||||
# make zshrc aware of where zsh-prezto is installed
|
||||
sed -i -e "s|\''${ZDOTDIR:\-\$HOME}/.zprezto/|$out/share/zsh-prezto/|g" runcoms/zshrc
|
||||
|
@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "03r6hpb5fy4yaakqm3lbf4xcvd408r44jgpv4lnzl9asp4sb9qc0";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ zsh ];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "09lqav1mz5zajklr3xa0iaivhpykv3azkjb7yj9wyp0hq3vymp8i";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase = ''
|
||||
install -D zsh-system-clipboard.zsh $out/share/zsh/${pname}/zsh-system-clipboard.zsh
|
||||
'';
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "EOYqHh0rcgoi26eopm6FTl81ehak5kXMmzNcnJDH8/E=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1dz48rd66priqhxx7byndqhbmlwxi1nfw8ik25k0z5k7k754brgy";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -11,6 +11,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
sha256 = "sha256-HnwUWqzwavh/Qox+siOe5lwTp7PBdiYx+9M0NMNFx00=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "shellspec";
|
||||
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1ib5qp29f2fmivwnv6hq35qhvdxz42xgjlkvy0i3qn758riyqf46";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ bash ];
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
checkPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user