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: 4aa6cc3de1a5
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: 01551c214769
Choose a head ref
  • 5 commits
  • 4 files changed
  • 4 contributors

Commits on Aug 16, 2019

  1. compton: 7 -> 7.2

    eadwu committed Aug 16, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    3c1cda9 View commit details

Commits on Aug 23, 2019

  1. libvirtd: add onBoot option

    This adds a new ``onBoot`` option that allows specifying the action taken on
    guests when the host boots. Specifying "start" ensures all guests that were
    running prior to shutdown are started, regardless of their autostart settings.
    Specifying "ignore" will make libvirtd ignore such guests. Any guest marked as
    autostart will still be automatically started by libvirtd.
    alexbakker committed Aug 23, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    d200220 View commit details

Commits on Aug 24, 2019

  1. Merge pull request #66704 from eadwu/compton/7.2

    compton: 7 -> 7.2
    mmahut authored Aug 24, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    fce7cfc View commit details
  2. Merge pull request #67356 from alexbakker/libvirt-onboot

    libvirtd: add onBoot option
    mmahut authored Aug 24, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    b8b3581 View commit details
  3. scdoc: 1.9.6 -> 1.9.7

    primeos committed Aug 24, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    01551c2 View commit details
13 changes: 13 additions & 0 deletions nixos/modules/virtualisation/libvirtd.nix
Original file line number Diff line number Diff line change
@@ -104,6 +104,18 @@ in {
'';
};

onBoot = mkOption {
type = types.enum ["start" "ignore" ];
default = "start";
description = ''
Specifies the action to be done to / on the guests when the host boots.
The "start" option starts all guests that were running prior to shutdown
regardless of their autostart settings. The "ignore" option will not
start the formally running guest on boot. However, any guest marked as
autostart will still be automatically started by libvirtd.
'';
};

onShutdown = mkOption {
type = types.enum ["shutdown" "suspend" ];
default = "suspend";
@@ -221,6 +233,7 @@ in {
path = with pkgs; [ coreutils libvirt gawk ];
restartIfChanged = false;

environment.ON_BOOT = "${cfg.onBoot}";
environment.ON_SHUTDOWN = "${cfg.onShutdown}";
};

13 changes: 3 additions & 10 deletions pkgs/applications/window-managers/compton/default.nix
Original file line number Diff line number Diff line change
@@ -5,15 +5,13 @@
, libXinerama, libXext, xwininfo, libxdg_basedir }:
stdenv.mkDerivation rec {
pname = "compton";
version = "7";

COMPTON_VERSION = "v${version}";
version = "7.2";

src = fetchFromGitHub {
owner = "yshui";
repo = "compton";
rev = COMPTON_VERSION;
sha256 = "0f23dv2p1snlpzc91v38q6896ncz4zqzmh2d97yf66j78g21awas";
rev = "v${version}";
sha256 = "1vwa5f0nifc1913diqd6cp5k1dlfyc2ijxbcdj1s37ywpx6c63c3";
fetchSubmodules = true;
};

@@ -42,11 +40,6 @@ stdenv.mkDerivation rec {
"-Dbuild_docs=true"
];

preBuild = ''
git() { echo "$COMPTON_VERSION"; }
export -f git
'';

installFlags = [ "PREFIX=$(out)" ];

postInstall = ''
1 change: 1 addition & 0 deletions pkgs/development/libraries/libvirt/default.nix
Original file line number Diff line number Diff line change
@@ -129,6 +129,7 @@ in stdenv.mkDerivation rec {
binPath = [ iptables iproute pmutils numad numactl bridge-utils dmidecode dnsmasq ebtables ] ++ optionals enableIscsi [ openiscsi ];
in ''
substituteInPlace $out/libexec/libvirt-guests.sh \
--replace 'ON_BOOT=start' 'ON_BOOT=''${ON_BOOT:-start}' \
--replace 'ON_SHUTDOWN=suspend' 'ON_SHUTDOWN=''${ON_SHUTDOWN:-suspend}' \
--replace "$out/bin" '${gettext}/bin' \
--replace 'lock/subsys' 'lock' \
4 changes: 2 additions & 2 deletions pkgs/tools/typesetting/scdoc/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "scdoc-${version}";
version = "1.9.6";
version = "1.9.7";

src = fetchurl {
url = "https://git.sr.ht/~sircmpwn/scdoc/archive/${version}.tar.gz";
sha256 = "0a2rxn0pihknvyvfvzib42v9c7zfdg8pi95q40fywwjb9clz59c9";
sha256 = "0y9p03dzdaszx02jbkdf3vcs52fqml591cmic5jdch5yznrg03ky";
};

postPatch = ''