Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: bcachefs-tools 0 -> 1 attrpath: bcachefs-tools Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/pzh4lq4shvzzv7ladxpx3l9rsj0rza7w-packages.json.drv building '/nix/store/pzh4lq4shvzzv7ladxpx3l9rsj0rza7w-packages.json.drv'... Going to be running update for following packages: - bcachefs-tools-1.36.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - bcachefs-tools-1.36.0: UPDATING ... - bcachefs-tools-1.36.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/bc/bcachefs-tools/package.nix b/pkgs/by-name/bc/bcachefs-tools/package.nix index 61b15b96fdeb..1ce6bd467a7a 100644 --- a/pkgs/by-name/bc/bcachefs-tools/package.nix +++ b/pkgs/by-name/bc/bcachefs-tools/package.nix @@ -28,18 +28,18 @@ stdenv.mkDerivation (finalAttrs: { pname = "bcachefs-tools"; - version = "1.36.0"; + version = "1.36.1"; src = fetchFromGitHub { owner = "koverstreet"; repo = "bcachefs-tools"; tag = "v${finalAttrs.version}"; - hash = "sha256-VSx8M8W3j47xC0tPdKtEHeMcFJMpBBMHjf7ZiDiE79I="; + hash = "sha256-15Z1lHNeXTToDpdVc/YB5ojhoiB5qdgWs47O1aKoyFM="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; - hash = "sha256-o0UofdKgEe/R683TmZJlsd1QD1Iy1oMBVBSN6u2uvDM="; + hash = "sha256-YWsJUSgKNkK9W4Yuolix21bRRFSF01+sivoj7SJo7DY="; }; postPatch = '' No auto update branch exists Old version 1.36.0" not present in master derivation file with contents: { lib, stdenv, fetchFromGitHub, pkg-config, libuuid, libsodium, keyutils, liburcu, zlib, libaio, zstd, lz4, attr, udev, fuse3, cargo, rustc, rustPlatform, makeWrapper, nix-update-script, versionCheckHook, nixosTests, installShellFiles, fuseSupport ? false, udevCheckHook, }: stdenv.mkDerivation (finalAttrs: { pname = "bcachefs-tools"; version = "1.36.1"; src = fetchFromGitHub { owner = "koverstreet"; repo = "bcachefs-tools"; tag = "v${finalAttrs.version}"; hash = "sha256-15Z1lHNeXTToDpdVc/YB5ojhoiB5qdgWs47O1aKoyFM="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; hash = "sha256-YWsJUSgKNkK9W4Yuolix21bRRFSF01+sivoj7SJo7DY="; }; postPatch = '' substituteInPlace Makefile \ --replace-fail "target/release/bcachefs" "target/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/bcachefs" ''; nativeBuildInputs = [ pkg-config cargo rustc rustPlatform.cargoSetupHook rustPlatform.bindgenHook makeWrapper installShellFiles ]; buildInputs = [ libaio keyutils lz4 libsodium liburcu libuuid zstd zlib attr udev ] ++ lib.optional fuseSupport fuse3; makeFlags = [ "PREFIX=${placeholder "out"}" "VERSION=${finalAttrs.version}" "INITRAMFS_DIR=${placeholder "out"}/etc/initramfs-tools" "DKMSDIR=${placeholder "dkms"}" # Tries to install to the 'systemd-minimal' and 'udev' nix installation paths "PKGCONFIG_SERVICEDIR=$(out)/lib/systemd/system" "PKGCONFIG_UDEVDIR=$(out)/lib/udev" ] ++ lib.optional fuseSupport "BCACHEFS_FUSE=1"; enableParallelBuilding = true; installFlags = [ "install" "install_dkms" ]; env = { CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec; "CARGO_TARGET_${stdenv.hostPlatform.rust.cargoEnvVarTarget}_LINKER" = "${stdenv.cc.targetPrefix}cc"; }; # FIXME: Try enabling this once the default linux kernel is at least 6.7 doCheck = false; # needs bcachefs module loaded on builder preCheck = lib.optionalString (!fuseSupport) '' rm tests/test_fuse.py ''; checkFlags = [ "BCACHEFS_TEST_USE_VALGRIND=no" ]; doInstallCheck = true; nativeInstallCheckInputs = [ udevCheckHook versionCheckHook ]; versionCheckProgramArg = "version"; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd bcachefs \ --bash <($out/sbin/bcachefs completions bash) \ --zsh <($out/sbin/bcachefs completions zsh) \ --fish <($out/sbin/bcachefs completions fish) ''; outputs = [ "out" "dkms" ]; passthru = { # See NOTE in linux-kernels.nix kernelModule = import ./kernel-module.nix finalAttrs.finalPackage; tests = { smoke-test = nixosTests.bcachefs; inherit (nixosTests.installer) bcachefsSimple bcachefsEncrypted bcachefsMulti; }; updateScript = nix-update-script { }; }; meta = { description = "Tool for managing bcachefs filesystems"; homepage = "https://bcachefs.org/"; downloadPage = "https://github.com/koverstreet/bcachefs-tools"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ davidak johnrtitor ]; platforms = lib.platforms.linux; mainProgram = "bcachefs"; broken = stdenv.hostPlatform.isi686; # error: stack smashing detected }; })