Merge branch 'master' into staging

... to fix bugs in i686-linux removal.

+15 -20
+1 -1
doc/languages-frameworks/python.md
··· 340 Indeed, we can just add any package we like to have in our environment to `propagatedBuildInputs`. 341 342 ```nix 343 - with import <nixpkgs>; 344 with pkgs.python35Packages; 345 346 buildPythonPackage rec {
··· 340 Indeed, we can just add any package we like to have in our environment to `propagatedBuildInputs`. 341 342 ```nix 343 + with import <nixpkgs> {}; 344 with pkgs.python35Packages; 345 346 buildPythonPackage rec {
+1 -18
pkgs/development/haskell-modules/configuration-common.nix
··· 170 # https://github.com/jaspervdj/hakyll/issues/491 171 else dontCheck super.hakyll; 172 173 - # cabal2nix likes to generate dependencies on hinotify when hfsevents is really required 174 - # on darwin: https://github.com/NixOS/cabal2nix/issues/146. 175 - hinotify = if pkgs.stdenv.isDarwin then self.hfsevents else super.hinotify; 176 - 177 - # FSEvents API is very buggy and tests are unreliable. See 178 - # http://openradar.appspot.com/10207999 and similar issues. 179 - # https://github.com/haskell-fswatch/hfsnotify/issues/62 180 - fsnotify = if pkgs.stdenv.isDarwin 181 - then addBuildDepend (dontCheck super.fsnotify) pkgs.darwin.apple_sdk.frameworks.Cocoa 182 - else dontCheck super.fsnotify; 183 - 184 double-conversion = if !pkgs.stdenv.isDarwin 185 - then addExtraLibrary 186 - # https://github.com/bos/double-conversion/pull/17 187 - (appendPatch super.double-conversion (pkgs.fetchpatch { 188 - url = "https://github.com/basvandijk/double-conversion/commit/0927e347d53dbd96d1949930e728cc2471dd4b14.patch"; 189 - sha256 = "042yqbq5p6nc9nymmbz9hgp51dlc5asaj9bf91kw5fph6dw2hwg9"; 190 - })) 191 - pkgs.stdenv.cc.cc.lib 192 else addExtraLibrary (overrideCabal super.double-conversion (drv: 193 { 194 postPatch = ''
··· 170 # https://github.com/jaspervdj/hakyll/issues/491 171 else dontCheck super.hakyll; 172 173 double-conversion = if !pkgs.stdenv.isDarwin 174 + then super.double-conversion 175 else addExtraLibrary (overrideCabal super.double-conversion (drv: 176 { 177 postPatch = ''
+11
pkgs/development/haskell-modules/configuration-nix.nix
··· 408 testHaskellDepends = (drv.testHaskellDepends or []) ++ [ self.test-framework self.test-framework-hunit ]; 409 }); 410 411 hidapi = addExtraLibrary super.hidapi pkgs.libudev; 412 413 hs-GeoIP = super.hs-GeoIP.override { GeoIP = pkgs.geoipWithDatabase; };
··· 408 testHaskellDepends = (drv.testHaskellDepends or []) ++ [ self.test-framework self.test-framework-hunit ]; 409 }); 410 411 + # cabal2nix likes to generate dependencies on hinotify when hfsevents is really required 412 + # on darwin: https://github.com/NixOS/cabal2nix/issues/146. 413 + hinotify = if pkgs.stdenv.isDarwin then self.hfsevents else super.hinotify; 414 + 415 + # FSEvents API is very buggy and tests are unreliable. See 416 + # http://openradar.appspot.com/10207999 and similar issues. 417 + # https://github.com/haskell-fswatch/hfsnotify/issues/62 418 + fsnotify = if pkgs.stdenv.isDarwin 419 + then addBuildDepend (dontCheck super.fsnotify) pkgs.darwin.apple_sdk.frameworks.Cocoa 420 + else dontCheck super.fsnotify; 421 + 422 hidapi = addExtraLibrary super.hidapi pkgs.libudev; 423 424 hs-GeoIP = super.hs-GeoIP.override { GeoIP = pkgs.geoipWithDatabase; };
+2 -1
pkgs/top-level/release.nix
··· 11 { nixpkgs ? { outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; } 12 , officialRelease ? false 13 # The platforms for which we build Nixpkgs. 14 - , supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarchh64-linux" ] 15 , limitedSupportedSystems ? [ "i686-linux" ] 16 # Strip most of attributes when evaluating to spare memory usage 17 , scrubJobs ? true ··· 58 jobs.manual 59 jobs.lib-tests 60 jobs.stdenv.x86_64-linux 61 jobs.stdenv.x86_64-darwin 62 jobs.linux.x86_64-linux 63 jobs.python.x86_64-linux
··· 11 { nixpkgs ? { outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; } 12 , officialRelease ? false 13 # The platforms for which we build Nixpkgs. 14 + , supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ] 15 , limitedSupportedSystems ? [ "i686-linux" ] 16 # Strip most of attributes when evaluating to spare memory usage 17 , scrubJobs ? true ··· 58 jobs.manual 59 jobs.lib-tests 60 jobs.stdenv.x86_64-linux 61 + jobs.stdenv.i686-linux # most basic sanity check 62 jobs.stdenv.x86_64-darwin 63 jobs.linux.x86_64-linux 64 jobs.python.x86_64-linux