about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/bcachefs-tools/default.nix
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-11-05 21:47:06 -0800
committerAustin Seipp <aseipp@pobox.com>2023-11-15 15:03:52 -0600
commit372ce96efcd43e93541fa56ac1128cd5f2a1e850 (patch)
tree32ba6c815ca8efe872a40ae1772849722abc57e6 /pkgs/tools/filesystems/bcachefs-tools/default.nix
parent35f8ef3a58971e5fe34f355f257efa27f60a3962 (diff)
bcachefs-tools: unstable-2023-06-28 -> 1.3.1
Diffstat (limited to 'pkgs/tools/filesystems/bcachefs-tools/default.nix')
-rw-r--r--pkgs/tools/filesystems/bcachefs-tools/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/tools/filesystems/bcachefs-tools/default.nix b/pkgs/tools/filesystems/bcachefs-tools/default.nix
index 81152d144aa99..7df877f102f6d 100644
--- a/pkgs/tools/filesystems/bcachefs-tools/default.nix
+++ b/pkgs/tools/filesystems/bcachefs-tools/default.nix
@@ -23,16 +23,17 @@
 , fuseSupport ? false
 }:
 let
-  rev = "cfa816bf3f823a3bedfedd8e214ea929c5c755fe";
-in stdenv.mkDerivation {
+  version = "1.3.1";
+in
+stdenv.mkDerivation {
   pname = "bcachefs-tools";
-  version = "unstable-2023-06-28";
+  inherit version;
 
   src = fetchFromGitHub {
     owner = "koverstreet";
     repo = "bcachefs-tools";
-    inherit rev;
-    hash = "sha256-XgXUwyZV5N8buYTuiu1Y1ZU3uHXjZ/OZ1kbZ9d6Rt5I=";
+    rev = "v${version}";
+    hash = "sha256-4TmH6YOW6ktISVA6RLo7JRl8/SnRzGMrdbyCr+mDkqY=";
   };
 
   # errors on fsck_err function. Maybe miss-detection?
@@ -75,7 +76,7 @@ in stdenv.mkDerivation {
 
   makeFlags = [
     "PREFIX=${placeholder "out"}"
-    "VERSION=${lib.strings.substring 0 7 rev}"
+    "VERSION=${version}"
     "INITRAMFS_DIR=${placeholder "out"}/etc/initramfs-tools"
   ];