Skip to content

Commit

Permalink
nbd: add patch to fix reading port setting from nbdtab
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Feb 1, 2024
1 parent 426bad2 commit d44f6f2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/tools/networking/nbd/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, pkg-config
, glib
, which
Expand All @@ -20,6 +21,15 @@ stdenv.mkDerivation rec {
hash = "sha256-9cj9D8tXsckmWU0OV/NWQy7ghni+8dQNCI8IMPDL3Qo=";
};

patches = [
# fix port setting from nbdtab
# https://github.com/NetworkBlockDevice/nbd/pull/154
(fetchpatch {
url = "https://github.com/NetworkBlockDevice/nbd/commit/915444bc0b8a931d32dfb755542f4bd1d37f1449.patch";
hash = "sha256-6z+c2cXhY92WPDqRO6AJ5BBf1N38yTgOE1foduIr5Dg=";
})
];

nativeBuildInputs = [
pkg-config
which
Expand Down

0 comments on commit d44f6f2

Please sign in to comment.