From 8238e19c2fa6988b8e77bae8764976da1a03e1af Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 16 Jan 2019 17:10:02 -0600 Subject: [PATCH 1/2] iwd: 0.12 -> 0.14 https://git.kernel.org/pub/scm/network/wireless/iwd.git/diff/ChangeLog?h=0.13 https://git.kernel.org/pub/scm/network/wireless/iwd.git/diff/ChangeLog?h=0.14 --- pkgs/os-specific/linux/iwd/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/os-specific/linux/iwd/default.nix b/pkgs/os-specific/linux/iwd/default.nix index acf28a1bca7..39902023b62 100644 --- a/pkgs/os-specific/linux/iwd/default.nix +++ b/pkgs/os-specific/linux/iwd/default.nix @@ -3,17 +3,17 @@ let ell = fetchgit { url = https://git.kernel.org/pub/scm/libs/ell/ell.git; - rev = "0.15"; - sha256 = "1jwk5gxcs964ddca9asw6fvc4h9q8d2x1y3linfi11b5vf30bghn"; + rev = "0.17"; + sha256 = "0yk1qmvpy61qp82bb0w55n062jqzlkzbz0b1v5k763j98czz9rvz"; }; in stdenv.mkDerivation rec { name = "iwd-${version}"; - version = "0.12"; + version = "0.14"; src = fetchgit { url = https://git.kernel.org/pub/scm/network/wireless/iwd.git; rev = version; - sha256 = "156zq3zqa2vfmvy3yv9lng23mhrhlgwh0p2x3fcn10nkks9q89pn"; + sha256 = "08ijlnwvj1w354gbv3hdnm3l4iy24qzq4bq5a9z0wynysasw09lv"; }; nativeBuildInputs = [ @@ -32,9 +32,6 @@ in stdenv.mkDerivation rec { python3Packages.pygobject3 ]; - # Enable when it works again - enableParallelBuilding = false; - configureFlags = [ "--with-dbus-datadir=$(out)/etc/" "--with-dbus-busdir=$(out)/usr/share/dbus-1/system-services/" From d5c660c9ddd079567bc1186078c54fb155ff7d0d Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 28 Jan 2019 21:41:23 -0600 Subject: [PATCH 2/2] iwd: don't use '/usr' prefix, prefer placeholder over quote-and-pray --- pkgs/os-specific/linux/iwd/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/iwd/default.nix b/pkgs/os-specific/linux/iwd/default.nix index 39902023b62..fc7eda0af88 100644 --- a/pkgs/os-specific/linux/iwd/default.nix +++ b/pkgs/os-specific/linux/iwd/default.nix @@ -33,9 +33,9 @@ in stdenv.mkDerivation rec { ]; configureFlags = [ - "--with-dbus-datadir=$(out)/etc/" - "--with-dbus-busdir=$(out)/usr/share/dbus-1/system-services/" - "--with-systemd-unitdir=$(out)/lib/systemd/system/" + "--with-dbus-datadir=${placeholder "out"}/etc/" + "--with-dbus-busdir=${placeholder "out"}/share/dbus-1/system-services/" + "--with-systemd-unitdir=${placeholder "out"}/lib/systemd/system/" "--localstatedir=/var/" "--enable-wired" ]; @@ -57,9 +57,9 @@ in stdenv.mkDerivation rec { ''; postFixup = '' - substituteInPlace $out/usr/share/dbus-1/system-services/net.connman.ead.service \ + substituteInPlace $out/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 \ + substituteInPlace $out/share/dbus-1/system-services/net.connman.iwd.service \ --replace /bin/false ${coreutils}/bin/false '';