nut: 2.8.2 -> 2.8.3

https://github.com/networkupstools/nut/releases/tag/v2.8.3

Use the new --with-systemdsystempresetdir= option to avoid install error
where nut tries to install files to the systemd Nix store path.

+3 -2
+3 -2
pkgs/by-name/nu/nut/package.nix
··· 25 26 stdenv.mkDerivation rec { 27 pname = "nut"; 28 - version = "2.8.2"; 29 30 src = fetchurl { 31 url = "https://networkupstools.org/source/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"; 32 - sha256 = "sha256-5LSwy+fdObqQl75/fXh7sv/74132Tf9Ttf45PWWcWX0="; 33 }; 34 35 patches = [ ··· 76 "--with-all" 77 "--with-ssl" 78 "--without-powerman" # Until we have it ... 79 "--with-systemdsystemunitdir=$(out)/lib/systemd/system" 80 "--with-systemdshutdowndir=$(out)/lib/systemd/system-shutdown" 81 "--with-systemdtmpfilesdir=$(out)/lib/tmpfiles.d"
··· 25 26 stdenv.mkDerivation rec { 27 pname = "nut"; 28 + version = "2.8.3"; 29 30 src = fetchurl { 31 url = "https://networkupstools.org/source/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"; 32 + sha256 = "sha256-1soX8LOQA7rHZJ6xerSnE+TV/KqP0a7cooNX1Z3wle0="; 33 }; 34 35 patches = [ ··· 76 "--with-all" 77 "--with-ssl" 78 "--without-powerman" # Until we have it ... 79 + "--with-systemdsystempresetdir=$(out)/lib/systemd/system-preset" 80 "--with-systemdsystemunitdir=$(out)/lib/systemd/system" 81 "--with-systemdshutdowndir=$(out)/lib/systemd/system-shutdown" 82 "--with-systemdtmpfilesdir=$(out)/lib/tmpfiles.d"