Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7fc58ea6a742
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 72f07e74f3bc
Choose a head ref
  • 10 commits
  • 9 files changed
  • 8 contributors

Commits on Jun 6, 2018

  1. haskellPackages.http-link-header: disable tests

    The test
    
      Network.HTTP.Link, writeLinkHeader → parseLinkHeader, roundtrips successfully
    
    seems to flap, as I cannot reproduce the failure locally, but it occured on
    Hydra [0]. Also upstream is aware of the problem [1].
    
    [0] https://hydra.nixos.org/build/75041105
    [1] sjshuck/http-link-header#7
    erictapen committed Jun 6, 2018
    Copy the full SHA
    33ffa1f View commit details

Commits on Jun 7, 2018

  1. ats2: 0.3.9 -> 0.3.11

    bbarker committed Jun 7, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    52f81b6 View commit details

Commits on Jun 8, 2018

  1. Merge pull request #41593 from erictapen/haskellPackages-http-link-he…

    …ader-disable-tests
    
    haskellPackages.http-link-header: disable tests
    peti authored Jun 8, 2018
    Copy the full SHA
    6bde64f View commit details
  2. doc: Explain how to hack on kernel

    Presents the options available (linuxManualConfig versus overriding
    extraConfig, ignoreConfigErrors, autoModules, kernelPreferBuiltin.
    
    For advanced hostPlatform customization refer to the commands shared by ericson1234 at
    NixOS/nixpkgs#33813 but it is too advanced to
    put in the doc.
    teto authored and dezgeg committed Jun 8, 2018
    Copy the full SHA
    eb7e0d4 View commit details
  3. Merge pull request #41610 from bbarker/ats2

    ats2: 0.3.9 -> 0.3.11
    srhb authored Jun 8, 2018
    Copy the full SHA
    0d1dee0 View commit details
  4. ponyc: 0.22.5 -> 0.22.6

    kamilchm authored and vbgl committed Jun 8, 2018
    Copy the full SHA
    2f79089 View commit details
  5. rustc: disable test-inherit-env

    This fails on hydra on x86_64 for unknown reason.
    Mic92 committed Jun 8, 2018
    Copy the full SHA
    4752959 View commit details
  6. Copy the full SHA
    179590a View commit details
  7. Copy the full SHA
    7fd9a40 View commit details
  8. Copy the full SHA
    72f07e7 View commit details
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -562,6 +562,11 @@
github = "basvandijk";
name = "Bas van Dijk";
};
bbarker = {
email = "brandon.barker@gmail.com";
github = "bbarker";
name = "Brandon Elam Barker";
};
bcarrell = {
email = "brandoncarrell@gmail.com";
github = "bcarrell";
51 changes: 51 additions & 0 deletions nixos/doc/manual/configuration/linux-kernel.xml
Original file line number Diff line number Diff line change
@@ -66,6 +66,57 @@ nixpkgs.config.packageOverrides = pkgs:
sets the kernel’s TCP keepalive time to 120 seconds. To see the available
parameters, run <command>sysctl -a</command>.
</para>
<section>
<title>Customize your kernel</title>

<para>
The first step before compiling the kernel is to generate an appropriate
<literal>.config</literal> configuration. Either you pass your own config via
the <literal>configfile</literal> setting of <literal>linuxManualConfig</literal>:
<screen><![CDATA[
custom-kernel = super.linuxManualConfig {
inherit (super) stdenv hostPlatform;
inherit (linux_4_9) src;
version = "${linux_4_9.version}-custom";
configfile = /home/me/my_kernel_config;
allowImportFromDerivation = true;
};
]]></screen>

You can edit the config with this snippet (by default <command>make menuconfig</command> won't work
out of the box on nixos):
<screen><![CDATA[
nix-shell -E 'with import <nixpkgs> {}; kernelToOverride.overrideAttrs (o: {nativeBuildInputs=o.nativeBuildInputs ++ [ pkgconfig ncurses ];})'
]]></screen>


or you can let nixpkgs generate the configuration.
Nixpkgs generates it via answering the interactive kernel utility <command>make config</command>.
The answers depend on parameters passed to <filename>pkgs/os-specific/linux/kernel/generic.nix</filename>
(which you can influence by overriding <literal>extraConfig, autoModules, modDirVersion, preferBuiltin, extraConfig</literal>).
<screen><![CDATA[
mptcp93.override ({
name="mptcp-local";
ignoreConfigErrors = true;
autoModules = false;
kernelPreferBuiltin = true;
enableParallelBuilding = true;
extraConfig = ''
DEBUG_KERNEL y
FRAME_POINTER y
KGDB y
KGDB_SERIAL_CONSOLE y
DEBUG_INFO y
'';
});
]]></screen>
</para>
</section>
<section>
<title>Developing kernel modules</title>

12 changes: 6 additions & 6 deletions pkgs/applications/editors/android-studio/default.nix
Original file line number Diff line number Diff line change
@@ -8,14 +8,14 @@ let
inherit (gnome2) GConf gnome_vfs;
};
stableVersion = {
version = "3.1.2.0"; # "Android Studio 3.1.2"
build = "173.4720617";
sha256Hash = "1h9f4pkyqxkqxampi8v035czg5d4g6lp4bsrnq5mgpwhjwkr1whk";
version = "3.1.3.0"; # "Android Studio 3.1.3"
build = "173.4819257";
sha256Hash = "196yaswbxh2nd83gimjxr8ggr5xkdxq7n3xlh6ax73v59pj4hryq";
};
latestVersion = {
version = "3.2.0.15"; # "Android Studio 3.2 Canary 16"
build = "181.4802120";
sha256Hash = "0ch9jjq58k83dpnq65xyxchyik24w3fmh2v9q3kx1s028iavmpym";
version = "3.2.0.16"; # "Android Studio 3.2 Canary 17"
build = "181.4823740";
sha256Hash = "04282zd28kn2a4rjsi0ikx4bc9ab668xm7cc87ga60pzyg5gmmgk";
};
in rec {
# Old alias
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ in {
stable = mkTelegram stableVersion;
preview = mkTelegram (stableVersion // {
stable = false;
version = "1.3.3";
sha256Hash = "0c5p2isakcm53n24q82glsj5c3j7drn36xx14apdxxm3aj87bcaj";
version = "1.3.4";
sha256Hash = "17xdzyl7jb5g69a2h6fyk67z7s6h2dqjg8j478px6n0br1n420wk";
});
}
8 changes: 4 additions & 4 deletions pkgs/development/compilers/ats2/default.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@
, withContrib ? true }:

let
versionPkg = "0.3.9" ;
versionPkg = "0.3.11" ;

contrib = fetchurl {
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-contrib-${versionPkg}.tgz" ;
sha256 = "627bb99ecf2e3d5976f95f2faa13c7c330726601e8bb05a2113c9b69c98749b5";
sha256 = "300884eca8a54cb9b0daa19bd04a86252160cc8ad6ef494198babd56d5a579bc";
};

postInstallContrib = stdenv.lib.optionalString withContrib
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz";
sha256 = "c69a7c58964df26227e77656659129ca4c05205d2ebcacc7084edba818fb6e81";
sha256 = "feba71f37e9688b8ff0a72c4eb21914ce59f19421350d9dc3f15ad6f8c28428a";
};

buildInputs = [ gmp ];
@@ -52,6 +52,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.ats-lang.org";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ thoughtpolice ttuegel ];
maintainers = with maintainers; [ thoughtpolice ttuegel bbarker ];
};
}
4 changes: 2 additions & 2 deletions pkgs/development/compilers/ponyc/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

stdenv.mkDerivation ( rec {
name = "ponyc-${version}";
version = "0.22.5";
version = "0.22.6";

src = fetchFromGitHub {
owner = "ponylang";
repo = "ponyc";
rev = version;
sha256 = "1kxn4chc35h72hrblfrmmwgzb9s1sjsjazwz1dksj3hy45288lj1";
sha256 = "05y0qcfdyzv6cgizhbg6yl7rrlbfbkcr0jmxjlzhvhz7dypk20cl";
};

buildInputs = [ llvm makeWrapper which ];
9 changes: 8 additions & 1 deletion pkgs/development/compilers/rust/default.nix
Original file line number Diff line number Diff line change
@@ -16,7 +16,14 @@ in rec {
rustc = callPackage ./rustc.nix {
inherit stdenv llvm targets targetPatches targetToolchains rustPlatform version src;

patches = [ ./patches/net-tcp-disable-tests.patch ./patches/stdsimd-disable-doctest.patch ];
patches = [
./patches/net-tcp-disable-tests.patch
./patches/stdsimd-disable-doctest.patch
# Fails on hydra - not locally; the exact reason is unknown.
# Comments in the test suggest that some non-reproducible environment
# variables such $RANDOM can make it fail.
./patches/disable-test-inherit-env.patch
];

forceBundledLLVM = true;

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- rustc-1.26.2-src.org/src/libstd/process.rs 2018-06-01 21:40:11.000000000 +0100
+++ rustc-1.26.2-src/src/libstd/process.rs 2018-06-08 07:50:23.023828658 +0100
@@ -1745,6 +1745,7 @@
}

#[test]
+ #[ignore]
fn test_inherit_env() {
use env;

1 change: 1 addition & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
@@ -342,6 +342,7 @@ self: super: {
HTF = dontCheck super.HTF;
htsn = dontCheck super.htsn;
htsn-import = dontCheck super.htsn-import;
http-link-header = dontCheck super.http-link-header; # non deterministic failure https://hydra.nixos.org/build/75041105
ihaskell = dontCheck super.ihaskell;
influxdb = dontCheck super.influxdb;
itanium-abi = dontCheck super.itanium-abi;