mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-03 00:00:07 +03:00
7e97ef59bd
update kernel diffHash
30 lines
890 B
Nix
30 lines
890 B
Nix
{ filter, self, ... }:
|
|
final: prev: {
|
|
bcachefs = {
|
|
tools = final.callPackage ../default.nix {
|
|
testWithValgrind = false;
|
|
filter = filter.lib;
|
|
lastModified = builtins.substring 0 8 self.lastModifiedDate;
|
|
versionString = self.version;
|
|
};
|
|
toolsValgrind = final.bcachefs.tools.override {
|
|
testWithValgrind = true;
|
|
};
|
|
toolsDebug = final.bcachefs.toolsValgrind.override {
|
|
debugMode = true;
|
|
};
|
|
|
|
bch_bindgen = final.callPackage ../rust-src/bch_bindgen {};
|
|
|
|
mount = final.callPackage ../rust-src/mount {};
|
|
|
|
kernelPackages = final.recurseIntoAttrs (final.linuxPackagesFor final.bcachefs.kernel);
|
|
kernel = final.callPackage ./bcachefs-kernel.nix {
|
|
commit = final.bcachefs.tools.bcachefs_revision;
|
|
# This needs to be recalculated for every revision change
|
|
diffHash = "sha256-XSA0dBZZL8RXplgjpoLOFSULM8t/0Ztz8xlhLn9hdyw=";
|
|
kernelPatches = [];
|
|
};
|
|
};
|
|
}
|