From 346673605bfe5a42ab965505f490805c0824a482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 6 Jan 2011 14:38:03 +0000 Subject: [PATCH] GNU Parallel 20101222. svn path=/nixpkgs/trunk/; revision=25448 --- pkgs/tools/misc/parallel/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/parallel/default.nix b/pkgs/tools/misc/parallel/default.nix index 9cfa87f8383c..1dc5c6d28642 100644 --- a/pkgs/tools/misc/parallel/default.nix +++ b/pkgs/tools/misc/parallel/default.nix @@ -1,17 +1,20 @@ { fetchurl, stdenv, perl }: stdenv.mkDerivation rec { - name = "parallel-20101202"; + name = "parallel-20101222"; src = fetchurl { url = "mirror://gnu/parallel/${name}.tar.bz2"; - sha256 = "156jnsf9dhmbi7r207fns2vphpnjdrbz5ndkp8m6d8b1p2qfj46i"; + sha256 = "15lmqjnfqa9zixwj3gk7vpp4wb4scqaaqbp0mydq2cx1rbmg0rb4"; }; patchPhase = '' sed -i "src/parallel" -e's|/usr/bin/perl|${perl}/bin/perl|g' + ''; - rm -vf src/sem + preBuild = + # The `sem' program wants to write to `~/.parallel'. + '' export HOME="$PWD" ''; buildInputs = [ perl ];