diff options
-rw-r--r-- | pkgs/tools/backup/stenc/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/backup/stenc/default.nix b/pkgs/tools/backup/stenc/default.nix index fe45720ee814e..fb8d71c73119c 100644 --- a/pkgs/tools/backup/stenc/default.nix +++ b/pkgs/tools/backup/stenc/default.nix @@ -16,6 +16,13 @@ stdenv.mkDerivation rec { sha256 = "GcCRVkv+1mREq3MhMRn5fICthwI4WRQJSP6InuzxP1Q="; }; + postPatch = '' + # Fix gcc-13 build by pulling missing header. UPstream also fixed it + # in next major version, but there are many other patch dependencies. + # TODO: remove on next major version update + sed -e '1i #include <cstdint>' -i src/scsiencrypt.h + ''; + nativeBuildInputs = [ autoreconfHook ]; passthru.updateScript = gitUpdater { }; |