iwd: 0.11 -> 0.12

This commit is contained in:
Johannes Frankenau 2018-11-15 23:10:00 +01:00
parent 31f67bed5b
commit de23f0b922

View file

@ -3,17 +3,17 @@
let
ell = fetchgit {
url = https://git.kernel.org/pub/scm/libs/ell/ell.git;
rev = "0.14";
sha256 = "13jlmdk47pscmfs3c12awfwr3m6ka4fh6fyr9cl1bmqdpwqmmmk6";
rev = "0.15";
sha256 = "1jwk5gxcs964ddca9asw6fvc4h9q8d2x1y3linfi11b5vf30bghn";
};
in stdenv.mkDerivation rec {
name = "iwd-${version}";
version = "0.11";
version = "0.12";
src = fetchgit {
url = https://git.kernel.org/pub/scm/network/wireless/iwd.git;
rev = version;
sha256 = "0q79rdj3h16xdf0g2jdsvb2141z36z89vgzq0qn31pxzhgxdgf7j";
sha256 = "156zq3zqa2vfmvy3yv9lng23mhrhlgwh0p2x3fcn10nkks9q89pn";
};
nativeBuildInputs = [
@ -40,6 +40,7 @@ in stdenv.mkDerivation rec {
"--with-dbus-busdir=$(out)/usr/share/dbus-1/system-services/"
"--with-systemd-unitdir=$(out)/lib/systemd/system/"
"--localstatedir=/var/"
"--enable-wired"
];
postUnpack = ''
@ -59,6 +60,8 @@ in stdenv.mkDerivation rec {
'';
postFixup = ''
substituteInPlace $out/usr/share/dbus-1/system-services/net.connman.ead.service \
--replace /bin/false ${coreutils}/bin/false
substituteInPlace $out/usr/share/dbus-1/system-services/net.connman.iwd.service \
--replace /bin/false ${coreutils}/bin/false
'';