3
0
Fork 0
forked from mirrors/nixpkgs

strip trailing whitespace

svn path=/nixpkgs/trunk/; revision=29695
This commit is contained in:
Peter Simons 2011-10-06 13:15:09 +00:00
parent d95e485a86
commit ddd571e253
2 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
name = "mdadm-3.1.2";
src = fetchurl {
url = "mirror://kernel/linux/utils/raid/mdadm/${name}.tar.bz2";
sha256 = "0s2d2a01j8cizxqvbgd0sn5bpa1j46q8976078b3jq1q7i1ir0zz";

View file

@ -1,10 +1,10 @@
a :
let
a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "0.19" a;
version = a.lib.attrByPath ["version"] "0.19" a;
buildInputs = with a; [
zlib libuuid acl
zlib libuuid acl
];
in
@ -22,9 +22,9 @@ rec {
patches = [ ./glibc212.patch ];
phaseNames = ["doPatch" "doEnsureBtrfsImage" "doMakeInstall"];
doEnsureBtrfsImage = a.fullDepEntry (''
if ! grep 'progs = ' Makefile | grep btrfs-image; then
if ! grep 'progs = ' Makefile | grep btrfs-image; then
sed -e 's/progs = .*/& btrfs-image/' -i Makefile
fi
'') ["minInit" "doUnpack"];