From 9478569beda4e362a4e99a125ee43c7d64eece1b Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Sat, 3 Mar 2018 15:58:52 +1100 Subject: [PATCH 1/3] libwhereami: fix gcc7 build --- pkgs/development/libraries/libwhereami/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/libwhereami/default.nix b/pkgs/development/libraries/libwhereami/default.nix index a119ae8795be..fe59eb736589 100644 --- a/pkgs/development/libraries/libwhereami/default.nix +++ b/pkgs/development/libraries/libwhereami/default.nix @@ -11,6 +11,9 @@ stdenv.mkDerivation rec { owner = "puppetlabs"; }; + # post gcc7, upstream bug: https://tickets.puppetlabs.com/browse/FACT-1828 + NIX_CFLAGS_COMPILE = "-Wno-error=deprecated"; + nativeBuildInputs = [ cmake ]; buildInputs = [ boost curl leatherman ]; From 6fb1978b3bcf0c0e8835e3e96a417e70979ee233 Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Sat, 3 Mar 2018 16:00:41 +1100 Subject: [PATCH 2/3] libwhereami: 0.1.3 -> 0.2.0 --- pkgs/development/libraries/libwhereami/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libwhereami/default.nix b/pkgs/development/libraries/libwhereami/default.nix index fe59eb736589..880ebcc1e468 100644 --- a/pkgs/development/libraries/libwhereami/default.nix +++ b/pkgs/development/libraries/libwhereami/default.nix @@ -2,10 +2,10 @@ stdenv.mkDerivation rec { name = "libwhereami-${version}"; - version = "0.1.3"; + version = "0.2.0"; src = fetchFromGitHub { - sha256 = "0mpy2rkxcm2nz1qvldih01czxlsksqfkzgh58pnrw8yva31wv9q6"; + sha256 = "10phq4a11m8ly6b4dc2yg3dnjzg8ad5wnjv0ilvwylnw32800pxr"; rev = version; repo = "libwhereami"; owner = "puppetlabs"; From abc93b0a2b9dd96d9a6048ff7b1729826a5d6990 Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Sat, 3 Mar 2018 17:40:46 +1100 Subject: [PATCH 3/3] facter: 3.9.3 -> 3.10.0 --- pkgs/tools/system/facter/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/facter/default.nix b/pkgs/tools/system/facter/default.nix index 57cbb44cebff..9ff5f58f558a 100644 --- a/pkgs/tools/system/facter/default.nix +++ b/pkgs/tools/system/facter/default.nix @@ -2,17 +2,16 @@ stdenv.mkDerivation rec { name = "facter-${version}"; - version = "3.9.3"; + version = "3.10.0"; src = fetchFromGitHub { - sha256 = "1qd0xsw49nbj22czddxk90di31gx43hacvnmh08gp3001a8g0qcj"; + sha256 = "0qj23n5h98iirwhnjpcqzmirqf92sjd8mws5dky0pap359j6w792"; rev = version; repo = "facter"; owner = "puppetlabs"; }; CXXFLAGS = "-fpermissive"; - NIX_CFLAGS_COMPILE = "-Wno-error"; NIX_LDFLAGS = "-lblkid"; cmakeFlags = [ "-DFACTER_RUBY=${ruby}/lib/libruby.so" ];