3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #51439 from jfrankenau/update-iwd

iwd: 0.11 -> 0.12
This commit is contained in:
Vladyslav M 2018-12-04 02:24:35 +02:00 committed by GitHub
commit 19532f2ba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
'';