summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-12-20 21:07:37 +0100
committertv <tv@krebsco.de>2015-12-20 21:07:37 +0100
commit58c32bcc0a085a245203dc30f3330c3e1dfb335a (patch)
tree1394690b327acf7e08fcfc9a4f46cd4930dd424d /krebs
parentc89907175546aa0c39bc6b2c4960f0ea6e6db8c9 (diff)
cac: 1.0."0" -> 1.0.2
Diffstat (limited to 'krebs')
-rw-r--r--krebs/5pkgs/cac/default.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/krebs/5pkgs/cac/default.nix b/krebs/5pkgs/cac/default.nix
index 40dd56412..5e48cce74 100644
--- a/krebs/5pkgs/cac/default.nix
+++ b/krebs/5pkgs/cac/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchgit, coreutils, curl, gnused, inotifyTools, jq, ncurses, sshpass, ... }:
stdenv.mkDerivation {
- name = "cac-1.0.0";
+ name = "cac-1.0.2";
src = fetchgit {
- url = http://cgit.gum/cac;
- rev = "fe3b2ecb0aaf7d863842b896e18cd2b829f2297b";
- sha256 = "05bnd7wyjhqy8srmpnc8d234rv3jxdjgb4z0hlfb9kg7mb12w1ya";
+ url = http://cgit.cd.retiolum/cac;
+ rev = "3d6aef3631aa2e0becba447ed9c36a268dcf8bb5";
+ sha256 = "4f584ef8d53a003818ec6608d2cccda42fc7806cd6f9fa9ad179346f3f59744c";
};
phases = [
@@ -29,10 +29,7 @@ stdenv.mkDerivation {
''
mkdir -p $out/bin
- sed \
- 's,^\( true) \)\(cac "$@";;\)$,\1 PATH=${path}${PATH+:$PATH} \2,' \
- < ./cac \
- > $out/bin/cac
+ sed 's;^_main .*;PATH=${path} &;' < ./cac > $out/bin/cac
chmod +x $out/bin/cac
'';