Build btrfs-image, although it was mistakenly omitted in release Makefile
svn path=/nixpkgs/trunk/; revision=16226
This commit is contained in:
parent
5ef46894e0
commit
900f96fe8a
1 changed files with 7 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue