Build btrfs-image, although it was mistakenly omitted in release Makefile

svn path=/nixpkgs/trunk/; revision=16226
This commit is contained in:
Michael Raskin 2009-07-07 21:47:28 +00:00
parent 5ef46894e0
commit 900f96fe8a

View file

@ -17,9 +17,14 @@ rec {
configureFlags = [];
makeFlags = ["prefix=$out"];
/* doConfigure should be removed if not needed */
phaseNames = ["doMakeInstall"];
phaseNames = ["doEnsureBtrfsImage" "doMakeInstall"];
doEnsureBtrfsImage = a.fullDepEntry (''
if ! grep 'progs = ' Makefile | grep btrfs-image; then
sed -e 's/progs = .*/& btrfs-image/' -i Makefile
fi
'') ["minInit" "doUnpack"];
name = "btrfs-progs-" + version;
meta = {
description = "BTRFS utilities";