networkmanager: 1.10.0 -> 1.10.2
This commit is contained in:
parent
1f80e7384e
commit
405e53ab71
3 changed files with 8 additions and 2 deletions
|
@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
|
||||||
name = "network-manager-${version}";
|
name = "network-manager-${version}";
|
||||||
pname = "NetworkManager";
|
pname = "NetworkManager";
|
||||||
major = "1.10";
|
major = "1.10";
|
||||||
version = "${major}.0";
|
version = "${major}.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${major}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${major}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1ph45rqpl8p9k4rirhss0hpf104clm8fp322p6kh6q75y06ddfwa";
|
sha256 = "0nv2jm2lsidlrzn4dkbc5rpj8ma4cpzjqz8z8dmwkqvh0zsk970n";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
|
@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ intltool pkgconfig ];
|
nativeBuildInputs = [ intltool pkgconfig ];
|
||||||
|
|
||||||
|
# Fixes deprecation errors with networkmanager 1.10.2
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"${if withGnome then "--with-gnome" else "--without-gnome"}"
|
"${if withGnome then "--with-gnome" else "--without-gnome"}"
|
||||||
"--disable-static"
|
"--disable-static"
|
||||||
|
|
|
@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ intltool pkgconfig ];
|
nativeBuildInputs = [ intltool pkgconfig ];
|
||||||
|
|
||||||
|
# Fixes deprecation errors with networkmanager 1.10.2
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace "configure" \
|
substituteInPlace "configure" \
|
||||||
--replace "/sbin/sysctl" "${procps}/bin/sysctl"
|
--replace "/sbin/sysctl" "${procps}/bin/sysctl"
|
||||||
|
|
Loading…
Reference in a new issue