Sergei Trofimovich 2 years ago
parent 328b83653f
commit a6037ef47d
  1. 13
      pkgs/os-specific/linux/open-iscsi/default.nix

@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
pname = "open-iscsi";
version = "2.1.4";
version = "2.1.7";
nativeBuildInputs = [ autoconf automake gettext libtool perl pkgconf ];
buildInputs = [ kmod open-isns.lib openssl systemd util-linux ];
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
owner = "open-iscsi";
repo = "open-iscsi";
rev = version;
sha256 = "sha256-HnvLLwxOnu7Oiige6A6zk9NmAI2ImcILp9eCfbdGiyI=";
sha256 = "sha256-R1ttHHxVSQ5TGtWVy4I9BAmEJfcRhKRD5jThoeddjUw=";
};
DESTDIR = "$(out)";
@ -23,8 +23,17 @@ stdenv.mkDerivation rec {
preConfigure = ''
sed -i 's|/usr|/|' Makefile
# Remove blanket -Werror. Fails for minor error on gcc-11.
substituteInPlace usr/Makefile --replace ' -Werror ' ' '
'';
# avoid /usr/bin/install
makeFlags = [
"INSTALL=install"
"SED=sed"
];
installFlags = [
"install"
"install_systemd"

Loading…
Cancel
Save