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: c1a66a49fb2a
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: 1d65e473e705
Choose a head ref

Commits on Aug 21, 2018

  1. patchelf: 0.10-pre-20180108 -> 0.10-pre-20180509, minor touchup

    Useful update-- adds support for accepting multiple files as arguments
    and fixes handling of large executables (>2Gb).
    
    While touching this, modify version to include more info.
    
    Preserving version format previously used, although not usual style.
    dtzWill committed Aug 21, 2018
    Copy the full SHA
    e128719 View commit details

Commits on Aug 22, 2018

  1. Copy the full SHA
    7bf9b42 View commit details

Commits on Sep 27, 2018

  1. dune: 1.2.1 -> 1.3.0

    vbgl committed Sep 27, 2018
    Copy the full SHA
    d4ba6c0 View commit details

Commits on Sep 28, 2018

  1. Merge pull request #47436 from vbgl/dune-1.3.0

    dune: 1.2.1 -> 1.3.0
    srhb authored Sep 28, 2018
    Copy the full SHA
    535ac18 View commit details
  2. Copy the full SHA
    5c45ca0 View commit details
  3. Copy the full SHA
    dd7de49 View commit details
  4. haskellPackages.generic-lens: apply patch to fix tests

    Nathan van Doorn committed Sep 28, 2018
    Copy the full SHA
    550fe15 View commit details
  5. Merge pull request #47456 from srhb/haskellPackages-term-rewriting

    haskellPackages.term-rewriting: doJailbreak and dontCheck
    basvandijk authored Sep 28, 2018
    Copy the full SHA
    5af67a3 View commit details
  6. Merge pull request #47424 from Taneb/dontcheck-generic-lens

    haskellPackages.generic-lens: dontCheck
    basvandijk authored Sep 28, 2018
    Copy the full SHA
    0ab8fa2 View commit details
  7. Copy the full SHA
    35cf30b View commit details
  8. Copy the full SHA
    147c5da View commit details
  9. Copy the full SHA
    b68e320 View commit details
  10. Copy the full SHA
    9f66035 View commit details
  11. Copy the full SHA
    89223a9 View commit details
  12. Copy the full SHA
    bb5638e View commit details
  13. Copy the full SHA
    2c5e1c0 View commit details
  14. hackage-packages.nix: automatic Haskell package set update

    This update was generated by hackage2nix v2.11.1 from Hackage revision
    commercialhaskell/all-cabal-hashes@deb25ca.
    peti committed Sep 28, 2018
    Copy the full SHA
    fd02cfd View commit details
  15. Copy the full SHA
    d994f1c View commit details
  16. octave: 4.2.2 -> 4.4.1 (#47391)

    lsix authored and xeji committed Sep 28, 2018
    Copy the full SHA
    ddeeade View commit details
  17. linuxPackages.jool: 3.5.7 -> unstable-20180706 (#47284)

    3.5.7 doesn't build with kernel 4.14.71.
    Needs most recent upstream revision to build, which supports
    kernels up to 4.17.
    xeji authored Sep 28, 2018
    Copy the full SHA
    f0e4b31 View commit details
  18. Add ssh backdoor to VM tests infrastructure.

    Thanks to @dezgeg for prototype implementation, I've
    cleaned it up and added documentation.
    dezgeg authored and domenkozar committed Sep 28, 2018
    Copy the full SHA
    d6e3db4 View commit details
  19. retroshare: mark as broken (#47350)

    Broken by libupnp: 1.6.21 -> 1.8.3 (#41684).
    orivej authored and xeji committed Sep 28, 2018
    Copy the full SHA
    eeac44c View commit details
  20. Merge pull request #45449 from dtzWill/update/patchelf-0.10-pre-2018-…

    …05-09
    
    patchelf: 0.10-pre-20180108 -> 0.10-pre-20180509, minor touchup
    xeji authored Sep 28, 2018
    Copy the full SHA
    487f7f4 View commit details
  21. Copy the full SHA
    c917407 View commit details
  22. systemd: don't restart user-runtime-dir@ on upgrades

    Likewise logind we should not try to restart this service after upgrade,
    the user's current session depends on it.
    Mic92 committed Sep 28, 2018
    Copy the full SHA
    aa69bb5 View commit details
  23. Merge pull request #47462 from Mic92/fix-logind-user-temp

    systemd: don't restart user-runtime-dir@ on upgrades
    Mic92 authored Sep 28, 2018
    Copy the full SHA
    1d65e47 View commit details
36 changes: 36 additions & 0 deletions nixos/doc/manual/development/debugging-nixos-tests.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-debugging-nixos-tests">
<title>Debugging NixOS tests</title>

<para>
Tests may fail and infrastructure offers access to inspect machine state.
</para>

<para>
To prevent test from stopping and cleaning up, insert a sleep command:
</para>

<programlisting>
$machine->succeed("sleep 84000");
</programlisting>

<para>
As soon as machine starts run as root:
</para>

<programlisting>
nix-shell -p socat --run "socat STDIO,raw,echo=0,escape=0x11 UNIX:/tmp/nix-build-vm-test-run-*.drv-0/vm-state-machine/backdoor"
</programlisting>

<para>
You may need to find the correct path, replacing <literal>/tmp</literal>, <literal>*</literal> or <literal>machine</literal>.
</para>

<para>
Press "enter" to open up console and login as "root". After you're done, press "ctrl-q" to exit the console.
</para>

</section>
1 change: 1 addition & 0 deletions nixos/doc/manual/development/nixos-tests.xml
Original file line number Diff line number Diff line change
@@ -16,4 +16,5 @@ xlink:href="https://github.com/NixOS/nixpkgs/tree/master/nixos/tests">nixos/test
<xi:include href="writing-nixos-tests.xml" />
<xi:include href="running-nixos-tests.xml" />
<xi:include href="running-nixos-tests-interactively.xml" />
<xi:include href="debugging-nixos-tests.xml" />
</chapter>
6 changes: 4 additions & 2 deletions nixos/lib/test-driver/Machine.pm
Original file line number Diff line number Diff line change
@@ -155,8 +155,10 @@ sub start {
$ENV{USE_TMPDIR} = 1;
$ENV{QEMU_OPTS} =
($self->{allowReboot} ? "" : "-no-reboot ") .
"-monitor unix:./monitor -chardev socket,id=shell,path=./shell " .
"-device virtio-serial -device virtconsole,chardev=shell " .
"-monitor unix:./monitor " .
"-chardev socket,id=shell,path=./shell -device virtio-serial -device virtconsole,chardev=shell " .
# socket backdoor, see "Debugging NixOS tests" section in NixOS manual
"-chardev socket,id=backdoor,path=./backdoor,server,nowait -device virtio-serial -device virtconsole,chardev=backdoor " .
"-device virtio-rng-pci " .
($showGraphics ? "-serial stdio" : "-nographic") . " " . ($ENV{QEMU_OPTS} || "");
chdir $self->{stateDir} or die;
3 changes: 3 additions & 0 deletions nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
@@ -886,6 +886,9 @@ in
#systemd.services.systemd-logind.restartTriggers = [ config.environment.etc."systemd/logind.conf".source ];
systemd.services.systemd-logind.restartIfChanged = false;
systemd.services.systemd-logind.stopIfChanged = false;
# The user-runtime-dir@ service is managed by systemd-logind we should not touch it or else we break the users' sessions.
systemd.services."user-runtime-dir@".stopIfChanged = false;
systemd.services."user-runtime-dir@".restartIfChanged = false;
systemd.services.systemd-journald.restartTriggers = [ config.environment.etc."systemd/journald.conf".source ];
systemd.services.systemd-journald.stopIfChanged = false;
systemd.targets.local-fs.unitConfig.X-StopOnReconfiguration = true;
3 changes: 2 additions & 1 deletion nixos/modules/testing/test-instrumentation.nix
Original file line number Diff line number Diff line change
@@ -55,7 +55,8 @@ with import ../../lib/qemu-flags.nix { inherit pkgs; };
systemd.services."serial-getty@hvc0".enable = false;

# Only use a serial console, no TTY.
virtualisation.qemu.consoles = [ qemuSerialDevice ];
# hvc1: socket backdoor, see "Debugging NixOS tests" section in NixOS manual
virtualisation.qemu.consoles = [ "hvc1" qemuSerialDevice ];

boot.initrd.preDeviceCommands =
''
1 change: 1 addition & 0 deletions pkgs/applications/networking/p2p/retroshare/default.nix
Original file line number Diff line number Diff line change
@@ -54,5 +54,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.domenkozar ];
broken = true; # broken by libupnp: 1.6.21 -> 1.8.3 (#41684)
};
}
11 changes: 10 additions & 1 deletion pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ self: super: {
name = "git-annex-${super.git-annex.version}-src";
url = "git://git-annex.branchable.com/";
rev = "refs/tags/" + super.git-annex.version;
sha256 = "1y56dlhx3azny5hzixn9x4kmzzpmakzyvw45qk8x4ffsc7jqq5bs";
sha256 = "09rhss1s6gxmqvb8k2l0f55mv38igyvikmm6d07zxkw6049q3maz";
};
}).override {
dbus = if pkgs.stdenv.isLinux then self.dbus else null;
@@ -999,6 +999,9 @@ self: super: {
'';
});

# https://github.com/haskell-rewriting/term-rewriting/issues/11
term-rewriting = dontCheck (doJailbreak super.term-rewriting);

# https://github.com/nick8325/twee/pull/1
twee-lib = dontHaddock super.twee-lib;

@@ -1150,4 +1153,10 @@ self: super: {
};
};

# https://github.com/kcsongor/generic-lens/pull/60
generic-lens = appendPatch super.generic-lens (pkgs.fetchpatch {
url = https://github.com/kcsongor/generic-lens/commit/d9af1ec22785d6c21e928beb88fc3885c6f05bed.patch;
sha256 = "0ljwcha9l52gs5bghxq3gbzxfqmfz3hxxcg9arjsjw8f7kw946xq";
});

} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
18 changes: 17 additions & 1 deletion pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
Original file line number Diff line number Diff line change
@@ -46,14 +46,21 @@ self: super: {

# LTS-12.x versions do not compile.
contravariant = self.contravariant_1_5;
control-monad-free = markBrokenVersion "0.6.1" super.control-monad-free;
doctest = self.doctest_0_16_0_1;
doctest_0_16_0_1 = dontCheck super.doctest_0_16_0_1;
Glob = self.Glob_0_9_3;
haddock-library = markBroken super.haddock-library;
hslogger = self.hslogger_1_2_12;
hspec = self.hspec_2_5_7;
hspec-core = self.hspec-core_2_5_7;
hspec-core_2_5_7 = super.hspec-core_2_5_7.overrideScope (self: super: { QuickCheck = self.QuickCheck_2_12_4; });
hspec-discover = self.hspec-discover_2_5_7;
hspec-meta = self.hspec-meta_2_5_6;
hspec-meta_2_5_6 = super.hspec-meta_2_5_6.overrideScope (self: super: { QuickCheck = self.QuickCheck_2_12_4; });
JuicyPixels = self.JuicyPixels_3_3_1;
lens = dontCheck super.lens; # avoid depending on broken polyparse
polyparse = markBrokenVersion "1.12" super.polyparse;
primitive = self.primitive_0_6_4_0;
tagged = self.tagged_0_8_6;
unordered-containers = dontCheck super.unordered-containers;
@@ -65,8 +72,17 @@ self: super: {
hashable-time = doJailbreak super.hashable-time; # base >=4.7 && <4.12
integer-logarithms = doJailbreak super.integer-logarithms; # base >=4.3 && <4.12
optparse-applicative = doJailbreak super.optparse-applicative; # https://github.com/pcapriotti/optparse-applicative/issues/319
polyparse = markBrokenVersion "1.12" super.polyparse; # version 1.12 fails to compile
tar = doJailbreak super.tar; # containers >=0.2 && <0.6
test-framework = doJailbreak super.test-framework; # containers >=0.1 && <0.6

# https://github.com/haskell/fgl/issues/79
# https://github.com/haskell/fgl/issues/81
fgl = appendPatch super.fgl ./patches/fgl-monad-fail.patch;

# https://github.com/jgm/texmath/pull/121
texmath = appendPatch (doJailbreak super.texmath) (pkgs.fetchpatch
{ url = https://github.com/jgm/texmath/pull/121.patch;
sha256 = "14pz2cpz9rvmy7mlmnz8iz76rsdyv5v442ij2i8k9zrbxj6nai7l";
});

}
Loading