about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/stratisd
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-01-25 08:18:39 +0800
committerNick Cao <nickcao@nichi.co>2023-01-25 08:50:28 +0800
commitbedb24510b642e4660efb0bdd8d78b0ceedb9217 (patch)
treefc03a774cc63ce4f2cb5c4c4393ce735b5d36a43 /pkgs/tools/filesystems/stratisd
parent5b0130945a3105b31a9209a2656f2b9d5e0c23a4 (diff)
stratisd: 3.4.4 -> 3.5.0
Diff: https://github.com/stratis-storage/stratisd/compare/v3.4.4...v3.5.0
Diffstat (limited to 'pkgs/tools/filesystems/stratisd')
-rw-r--r--pkgs/tools/filesystems/stratisd/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/tools/filesystems/stratisd/default.nix b/pkgs/tools/filesystems/stratisd/default.nix
index c1456d9477534..7e0c30ebf19c3 100644
--- a/pkgs/tools/filesystems/stratisd/default.nix
+++ b/pkgs/tools/filesystems/stratisd/default.nix
@@ -5,6 +5,7 @@
 , pkg-config
 , asciidoc
 , ncurses
+, glibc
 , dbus
 , cryptsetup
 , util-linux
@@ -24,18 +25,18 @@
 
 stdenv.mkDerivation rec {
   pname = "stratisd";
-  version = "3.4.4";
+  version = "3.5.0";
 
   src = fetchFromGitHub {
     owner = "stratis-storage";
     repo = pname;
     rev = "v${version}";
-    hash = "sha256-6VrbouYNB2iOndnDBfww8gT4eFgfP+HWcfep+N1nErI=";
+    hash = "sha256-1x6zVWFr4WNpYGVz/UGlP+lycVF2cbWJoiAmiXWzGT8=";
   };
 
   cargoDeps = rustPlatform.fetchCargoTarball {
     inherit src;
-    hash = "sha256-C3nkHQt+w0OYbExDfEpFE0Et6ILJqMNRPXCEWiURf3A=";
+    hash = "sha256-emsmdQY2od8XVjNY/rt0BbNsVy2XKtLpe8ydZGRil+Q=";
   };
 
   postPatch = ''
@@ -61,6 +62,8 @@ stdenv.mkDerivation rec {
   ];
 
   buildInputs = [
+    glibc
+    glibc.static
     dbus
     cryptsetup
     util-linux
@@ -81,7 +84,7 @@ stdenv.mkDerivation rec {
   ]);
 
   makeFlags = [ "PREFIX=${placeholder "out"}" "INSTALL=install" ];
-  buildFlags = [ "build" "build-min" "docs/stratisd.8" ];
+  buildFlags = [ "build-all" ];
 
   doCheck = true;
   checkTarget = "test";