bcachefs-tools: 2020-08-25 -> 2020-11-17
This commit is contained in:
parent
f872c5fee4
commit
9bf997125c
@ -6,13 +6,13 @@ assert fuseSupport -> fuse3 != null;
|
|||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "bcachefs-tools";
|
pname = "bcachefs-tools";
|
||||||
version = "2020-08-25";
|
version = "2020-11-17";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "koverstreet";
|
owner = "koverstreet";
|
||||||
repo = "bcachefs-tools";
|
repo = "bcachefs-tools";
|
||||||
rev = "487ddeb03c574e902c5b749b4307e87e2150976a";
|
rev = "41bec63b265a38dd9fa168b6042ea5bf07135048";
|
||||||
sha256 = "1pcid7apxmbl9dyvxcqby3k489wi69k8pl596ddzmkw5gmhgvgid";
|
sha256 = "1y3187kpw1bmnl97isv28k2sw8cmrnsn31a0dw745adwm0n7z6fj";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -22,11 +22,7 @@ stdenv.mkDerivation {
|
|||||||
"INITRAMFS_DIR=${placeholder "out"}/etc/initramfs-tools"
|
"INITRAMFS_DIR=${placeholder "out"}/etc/initramfs-tools"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pkgconfig
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libuuid libscrypt libsodium keyutils liburcu zlib libaio
|
libuuid libscrypt libsodium keyutils liburcu zlib libaio
|
||||||
@ -34,22 +30,14 @@ stdenv.mkDerivation {
|
|||||||
] ++ stdenv.lib.optional fuseSupport fuse3;
|
] ++ stdenv.lib.optional fuseSupport fuse3;
|
||||||
|
|
||||||
doCheck = false; # needs bcachefs module loaded on builder
|
doCheck = false; # needs bcachefs module loaded on builder
|
||||||
|
checkFlags = [ "BCACHEFS_TEST_USE_VALGRIND=no" ];
|
||||||
checkFlags = [
|
checkInputs = [ valgrind ];
|
||||||
"BCACHEFS_TEST_USE_VALGRIND=no"
|
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [
|
|
||||||
valgrind
|
|
||||||
];
|
|
||||||
|
|
||||||
preCheck = stdenv.lib.optionalString fuseSupport ''
|
preCheck = stdenv.lib.optionalString fuseSupport ''
|
||||||
rm tests/test_fuse.py
|
rm tests/test_fuse.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
"PREFIX=${placeholder "out"}"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Tool for managing bcachefs filesystems";
|
description = "Tool for managing bcachefs filesystems";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user