forked from mirrors/nixpkgs
strip trailing whitespace
svn path=/nixpkgs/trunk/; revision=29695
This commit is contained in:
parent
d95e485a86
commit
ddd571e253
|
@ -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";
|
||||
|
|
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue