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: 5d18f66ddd4a
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: 61c0adfbc11d
Choose a head ref

Commits on Jul 7, 2018

  1. Copy the full SHA
    52b8b68 View commit details
  2. Copy the full SHA
    5024e4a View commit details

Commits on Jul 8, 2018

  1. libyaml: 0.1.7 -> 0.2.1

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/libyaml/versions.
    
    These checks were done:
    
    - built on NixOS
    
    - 0 of 0 passed binary check by having a zero exit code.
    - 0 of 0 passed binary check by having the new version present in output.
    - found 0.2.1 with grep in /nix/store/bn221ypclyhac7pzicwf0kj7b6g03d4v-libyaml-0.2.1
    - directory tree listing: https://gist.github.com/a183f8e1406cfb340cfc7e4809746583
    - du listing: https://gist.github.com/6731d94c1363109427d6793cc7cd010a
    R. RyanTM committed Jul 8, 2018
    Copy the full SHA
    15c30f4 View commit details
  2. polkit: 0.113 -> 0.114

    symphorien committed Jul 8, 2018
    Copy the full SHA
    2a51780 View commit details

Commits on Jul 16, 2018

  1. perlPackages -> perl{522,524,526,528}Packages

    volth committed Jul 16, 2018
    Copy the full SHA
    391d9ec View commit details

Commits on Jul 30, 2018

  1. Copy the full SHA
    112021b View commit details
  2. lua*Packages.fifo: init at 0.2

    vcunat committed Jul 30, 2018
    Copy the full SHA
    3a80813 View commit details
  3. Copy the full SHA
    4aa324a View commit details
  4. Copy the full SHA
    05df847 View commit details
  5. Copy the full SHA
    837a9a4 View commit details
  6. lua*Packages.compat53: init at 0.7

    The manual compilation is weird, but there's only a rockspec upstream,
    and I don't know how to use that well inside the nix build.
    vcunat committed Jul 30, 2018
    Copy the full SHA
    597a593 View commit details
  7. Copy the full SHA
    4014099 View commit details
  8. lua*Packages.http: init at 0.2

    vcunat committed Jul 30, 2018
    Copy the full SHA
    7a605f3 View commit details
  9. knot-resolver: extraFeatures -> +deps for 'http' module

    The module feels as a toy mostly, but why not in non-default setup...
    vcunat committed Jul 30, 2018
    Copy the full SHA
    2d75c47 View commit details

Commits on Aug 1, 2018

  1. Copy the full SHA
    cccfa8f View commit details
  2. Copy the full SHA
    113e535 View commit details
  3. Merge pull request #44296 from lsix/gdbm-1-17

    gdbm: 1.15 -> 1.17
    Mic92 authored Aug 1, 2018
    Copy the full SHA
    a1fc74b View commit details
  4. Copy the full SHA
    6260fc8 View commit details

Commits on Aug 2, 2018

  1. treewide: Remove stdenv.isCross

    I *want* cross-specific overrides to be verbose, so I rather not have
    this shorthand. This makes the syntactic overhead more proportional to
    the maintainence cost. Hopefully this pushes people towards fewer
    conditionals and more abstractions.
    Ericson2314 committed Aug 2, 2018
    Copy the full SHA
    34da7e2 View commit details
  2. elfutils: Clean up with rebuild

    Wrote contorted code before to avoid mass-rebuild
    Ericson2314 committed Aug 2, 2018
    Copy the full SHA
    9d23b95 View commit details
  3. Copy the full SHA
    e517da3 View commit details
  4. Copy the full SHA
    f83b5e4 View commit details
  5. Copy the full SHA
    25348b2 View commit details
  6. Copy the full SHA
    eeb9837 View commit details
  7. polkit: 0.114 -> 0.115

    xeji committed Aug 2, 2018
    Copy the full SHA
    6840ae4 View commit details
  8. gnupg: 2.2.8 -> 2.2.9 (#43431)

    lsix authored and xeji committed Aug 2, 2018
    Copy the full SHA
    b9fbcfb View commit details
  9. Copy the full SHA
    89c21fc View commit details
  10. Merge pull request #44367 from obsidiansystems/no-stdenv-is-cross

    treewide: Remove stdenv.isCross
    Ericson2314 authored Aug 2, 2018
    Copy the full SHA
    df5d167 View commit details
  11. Copy the full SHA
    3c0ac73 View commit details
  12. libtasn1: fix on cross

    perl should be a native build input
    matthewbauer committed Aug 2, 2018
    Copy the full SHA
    26d6ff5 View commit details
  13. llvm: fix triple setting

    llvm is a library so it should just need to know about build & host.
    GCC will already have a cross compiler built.
    
    /cc @Ericson2314 @dtzWill
    matthewbauer committed Aug 2, 2018
    Copy the full SHA
    1461b90 View commit details
  14. Merge pull request #44308 from matthewbauer/fix-cross-ensureUnaffecte…

    …d-test
    
    Fix androidndk "ensure unaffected test"
    matthewbauer authored Aug 2, 2018
    Copy the full SHA
    ec34a91 View commit details

Commits on Aug 3, 2018

  1. Merge pull request #43127 from symphorien/polkit-update

    polkit: 0.113 -> 0.115
    xeji authored Aug 3, 2018
    Copy the full SHA
    0323ac9 View commit details
  2. perl: 5.24.4 -> 5.28.0

    volth committed Aug 3, 2018
    Copy the full SHA
    77b8d54 View commit details
  3. Merge pull request #44421 from volth/perl-524-528

    perl: 5.24.4 -> 5.28.0
    xeji authored Aug 3, 2018
    Copy the full SHA
    8c78499 View commit details
  4. Copy the full SHA
    e8a291f View commit details
  5. Copy the full SHA
    632d24f View commit details
  6. Copy the full SHA
    85a9913 View commit details
  7. Copy the full SHA
    db96506 View commit details
  8. Copy the full SHA
    f92ed87 View commit details
  9. Copy the full SHA
    f0d6b38 View commit details
  10. Copy the full SHA
    3e034ba View commit details
  11. Merge pull request #44423 from obsidiansystems/configureFlags-cleanup

    treewide: All configureFlags are lists
    Ericson2314 authored Aug 3, 2018
    Copy the full SHA
    7a337cd View commit details

Commits on Aug 4, 2018

  1. Copy the full SHA
    008fd5f View commit details

Commits on Aug 5, 2018

  1. python.pkgs.pytest.setupHook: fix cache name, fixes #40273

    The cache is not named `.pytest-cache` but `.pytest_cache`.
    FRidh committed Aug 5, 2018
    Copy the full SHA
    9267b47 View commit details
  2. libinput: 1.11.0 -> 1.11.3

    hedning committed Aug 5, 2018
    Copy the full SHA
    b0dfd3d View commit details
  3. qsstv: init at 9.2.6

    hax404 committed Aug 5, 2018
    Copy the full SHA
    f09e3a3 View commit details
  4. maintainers: add @hax404

    hax404 committed Aug 5, 2018
    Copy the full SHA
    acd1551 View commit details
  5. shadow: 4.5 -> 4.6

    NeQuissimus committed Aug 5, 2018
    Copy the full SHA
    71680eb View commit details
  6. Copy the full SHA
    28ad070 View commit details
Showing 769 changed files with 16,162 additions and 20,300 deletions.
25 changes: 20 additions & 5 deletions doc/languages-frameworks/java.xml
Original file line number Diff line number Diff line change
@@ -15,13 +15,17 @@ stdenv.mkDerivation {
buildPhase = "ant";
}
</programlisting>
Note that <varname>jdk</varname> is an alias for the OpenJDK.
</para>
Note that <varname>jdk</varname> is an alias for the OpenJDK (self-built
where available, or pre-built via Zulu).
Platforms with OpenJDK not (yet) in Nixpkgs (<literal>Aarch32</literal>,
<literal>Aarch64</literal>) point to the (unfree)
<literal>oraclejdk</literal>.
</para>

<para>
JAR files that are intended to be used by other packages should be installed
in <filename>$out/share/java</filename>. The OpenJDK has a stdenv setup hook
that adds any JARs in the <filename>share/java</filename> directories of the
in <filename>$out/share/java</filename>. JDKs have a stdenv setup hook
that add any JARs in the <filename>share/java</filename> directories of the
build inputs to the <envar>CLASSPATH</envar> environment variable. For
instance, if the package <literal>libfoo</literal> installs a JAR named
<filename>foo.jar</filename> in its <filename>share/java</filename>
@@ -57,7 +61,18 @@ installPhase =
<literal>${jre}/bin/java</literal> instead of
<literal>${jdk}/bin/java</literal>, you prevent your package from depending
on the JDK at runtime.
</para>
</para>

<para>
Note all JDKs passthru <literal>home</literal>, so if your application
requires environment variables like <envar>JAVA_HOME</envar> being set, that
can be done in a generic fashion with the <literal>--set</literal> argument
of <literal>makeWrapper</literal>:

<programlisting>
--set JAVA_HOME ${jdk.home}
</programlisting>
</para>

<para>
It is possible to use a different Java compiler than <command>javac</command>
2 changes: 1 addition & 1 deletion doc/old/cross.txt
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ stdenv.mkDerivation {
sha256 = "1ian3kwh2vg6hr3ymrv48s04gijs539vzrq62xr76bxbhbwnz2np";
};
inherit noSysDirs;
configureFlags = "--target=arm-linux";
configureFlags = [ "--target=arm-linux" ];
}
---

3 changes: 2 additions & 1 deletion lib/customisation.nix
Original file line number Diff line number Diff line change
@@ -195,9 +195,10 @@ rec {
let self = f self // {
newScope = scope: newScope (self // scope);
callPackage = self.newScope {};
# TODO(@Ericson2314): Haromonize argument order of `g` with everything else
overrideScope = g:
makeScope newScope
(self_: let super = f self_; in super // g super self_);
(lib.fixedPoints.extends (lib.flip g) f);
packages = f;
};
in self;
2 changes: 1 addition & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ let
inherit (strings) concatStrings concatMapStrings concatImapStrings
intersperse concatStringsSep concatMapStringsSep
concatImapStringsSep makeSearchPath makeSearchPathOutput
makeLibraryPath makeBinPath makePerlPath optionalString
makeLibraryPath makeBinPath makePerlPath makeFullPerlPath optionalString
hasPrefix hasSuffix stringToCharacters stringAsChars escape
escapeShellArg escapeShellArgs replaceChars lowerChars
upperChars toLower toUpper addContextFrom splitString
5 changes: 5 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
@@ -654,6 +654,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "wxWindows Library Licence, Version 3.1";
};

xfig = {
fullName = "xfig";
url = "http://mcj.sourceforge.net/authors.html#xfig";
};

zlib = spdx {
spdxId = "Zlib";
fullName = "zlib License";
9 changes: 9 additions & 0 deletions lib/strings.nix
Original file line number Diff line number Diff line change
@@ -126,6 +126,15 @@ rec {
*/
makePerlPath = makeSearchPathOutput "lib" "lib/perl5/site_perl";

/* Construct a perl search path recursively including all dependencies (such as $PERL5LIB)
Example:
pkgs = import <nixpkgs> { }
makeFullPerlPath [ pkgs.perlPackages.CGI ]
=> "/nix/store/fddivfrdc1xql02h9q500fpnqy12c74n-perl-CGI-4.38/lib/perl5/site_perl:/nix/store/8hsvdalmsxqkjg0c5ifigpf31vc4vsy2-perl-HTML-Parser-3.72/lib/perl5/site_perl:/nix/store/zhc7wh0xl8hz3y3f71nhlw1559iyvzld-perl-HTML-Tagset-3.20/lib/perl5/site_perl"
*/
makeFullPerlPath = deps: makePerlPath (lib.misc.closePropagation deps);

/* Depending on the boolean `cond', return either the given string
or the empty string. Useful to concatenate against a bigger string.
15 changes: 15 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -673,6 +673,11 @@
github = "changlinli";
name = "Changlin Li";
};
CharlesHD = {
email = "charleshdespointes@gmail.com";
github = "CharlesHD";
name = "Charles Huyghues-Despointes";
};
chaoflow = {
email = "flo@chaoflow.net";
github = "chaoflow";
@@ -1590,6 +1595,11 @@
github = "havvy";
name = "Ryan Scheel";
};
hax404 = {
email = "hax404foogit@hax404.de";
github = "hax404";
name = "Georg Haas";
};
hbunke = {
email = "bunke.hendrik@gmail.com";
github = "hbunke";
@@ -1935,6 +1945,11 @@
github = "jonafato";
name = "Jon Banafato";
};
jonathanreeve = {
email = "jon.reeve@gmail.com";
github = "JonathanReeve";
name = "Jonathan Reeve";
};
joncojonathan = {
email = "joncojonathan@gmail.com";
github = "joncojonathan";
7 changes: 3 additions & 4 deletions nixos/doc/manual/installation/installing.xml
Original file line number Diff line number Diff line change
@@ -326,10 +326,9 @@ Retype new UNIX password: ***
</screen>
<note>
<para>
To prevent the password prompt, set
<code><xref linkend="opt-users.mutableUsers"/> = false;</code> in
<filename>configuration.nix</filename>, which allows unattended
installation necessary in automation.
For unattended installations, it is possible to use
<command>nixos-install --no-root-passwd</command>
in order to disable the password prompt entirely.
</para>
</note>
</para>
7 changes: 5 additions & 2 deletions nixos/lib/make-ext4-fs.nix
Original file line number Diff line number Diff line change
@@ -6,16 +6,19 @@
, storePaths
, volumeLabel
, uuid ? "44444444-4444-4444-8888-888888888888"
, e2fsprogs
, libfaketime
, perl
}:

let
sdClosureInfo = pkgs.closureInfo { rootPaths = storePaths; };
sdClosureInfo = pkgs.buildPackages.closureInfo { rootPaths = storePaths; };
in

pkgs.stdenv.mkDerivation {
name = "ext4-fs.img";

nativeBuildInputs = with pkgs; [e2fsprogs.bin libfaketime perl];
nativeBuildInputs = [e2fsprogs.bin libfaketime perl];

buildCommand =
''
11 changes: 5 additions & 6 deletions nixos/modules/installer/cd-dvd/sd-image.nix
Original file line number Diff line number Diff line change
@@ -12,13 +12,12 @@
with lib;

let
rootfsImage = import ../../../lib/make-ext4-fs.nix {
inherit pkgs;
rootfsImage = pkgs.callPackage ../../../lib/make-ext4-fs.nix ({
inherit (config.sdImage) storePaths;
volumeLabel = "NIXOS_SD";
} // optionalAttrs (config.sdImage.rootPartitionUUID != null) {
uuid = config.sdImage.rootPartitionUUID;
};
});
in
{
options.sdImage = {
@@ -94,10 +93,10 @@ in

sdImage.storePaths = [ config.system.build.toplevel ];

system.build.sdImage = pkgs.stdenv.mkDerivation {
system.build.sdImage = pkgs.callPackage ({ stdenv, dosfstools, e2fsprogs, mtools, libfaketime, utillinux }: stdenv.mkDerivation {
name = config.sdImage.imageName;

buildInputs = with pkgs; [ dosfstools e2fsprogs mtools libfaketime utillinux ];
nativeBuildInputs = [ dosfstools e2fsprogs mtools libfaketime utillinux ];

buildCommand = ''
mkdir -p $out/nix-support $out/sd-image
@@ -138,7 +137,7 @@ in
(cd boot; mcopy -bpsvm -i ../bootpart.img ./* ::)
dd conv=notrunc if=bootpart.img of=$img seek=$START count=$SECTORS
'';
};
}) {};

boot.postBootCommands = ''
# On the first boot do some maintenance tasks
3 changes: 1 addition & 2 deletions nixos/modules/installer/netboot/netboot.nix
Original file line number Diff line number Diff line change
@@ -28,7 +28,6 @@ with lib;
++ (if pkgs.stdenv.system == "aarch64-linux"
then []
else [ pkgs.grub2 pkgs.syslinux ]);
system.boot.loader.kernelFile = pkgs.stdenv.platform.kernelTarget;

fileSystems."/" =
{ fsType = "tmpfs";
@@ -86,7 +85,7 @@ with lib;

system.build.netbootIpxeScript = pkgs.writeTextDir "netboot.ipxe" ''
#!ipxe
kernel ${pkgs.stdenv.platform.kernelTarget} init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}
kernel ${pkgs.stdenv.hostPlatform.platform.kernelTarget} init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams}
initrd initrd
boot
'';
3 changes: 2 additions & 1 deletion nixos/modules/profiles/installation-device.nix
Original file line number Diff line number Diff line change
@@ -31,7 +31,8 @@ with lib;
#services.rogue.enable = true;

# Disable some other stuff we don't need.
security.sudo.enable = false;
security.sudo.enable = mkDefault false;
services.udisks2.enable = mkDefault false;

# Automatically log in at the virtual consoles.
services.mingetty.autologinUser = "root";
16 changes: 13 additions & 3 deletions nixos/modules/services/games/terraria.nix
Original file line number Diff line number Diff line change
@@ -18,6 +18,16 @@ let
(boolFlag "secure" cfg.secure)
(boolFlag "noupnp" cfg.noUPnP)
];
stopScript = pkgs.writeScript "terraria-stop" ''
#!${pkgs.runtimeShell}
if ! [ -d "/proc/$1" ]; then
exit 0
fi
${getBin pkgs.tmux}/bin/tmux -S /var/lib/terraria/terraria.sock send-keys Enter exit Enter
${getBin pkgs.coreutils}/bin/tail --pid="$1" -f /dev/null
'';
in
{
options = {
@@ -124,10 +134,10 @@ in

serviceConfig = {
User = "terraria";
Type = "oneshot";
RemainAfterExit = true;
Type = "forking";
GuessMainPID = true;
ExecStart = "${getBin pkgs.tmux}/bin/tmux -S /var/lib/terraria/terraria.sock new -d ${pkgs.terraria-server}/bin/TerrariaServer ${concatStringsSep " " flags}";
ExecStop = "${getBin pkgs.tmux}/bin/tmux -S /var/lib/terraria/terraria.sock send-keys Enter \"exit\" Enter";
ExecStop = "${stopScript} $MAINPID";
};

postStart = ''
36 changes: 29 additions & 7 deletions nixos/modules/services/hardware/thermald.nix
Original file line number Diff line number Diff line change
@@ -6,16 +6,30 @@ let
cfg = config.services.thermald;
in {
###### interface
options = {
services.thermald = {
options = {
services.thermald = {
enable = mkOption {
default = false;
description = ''
Whether to enable thermald, the temperature management daemon.
'';
};
};
};
'';
};

debug = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable debug logging.
'';
};

configFile = mkOption {
type = types.nullOr types.path;
default = null;
description = "the thermald manual configuration file.";
};
};
};

###### implementation
config = mkIf cfg.enable {
@@ -24,7 +38,15 @@ in {
systemd.services.thermald = {
description = "Thermal Daemon Service";
wantedBy = [ "multi-user.target" ];
script = "exec ${pkgs.thermald}/sbin/thermald --no-daemon --dbus-enable";
serviceConfig = {
ExecStart = ''
${pkgs.thermald}/sbin/thermald \
--no-daemon \
${optionalString cfg.debug "--loglevel=debug"} \
${optionalString (cfg.configFile != null) "--config-file ${cfg.configFile}"} \
--dbus-enable
'';
};
};
};
}
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/nix-daemon.nix
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ in
};

maxJobs = mkOption {
type = types.int;
type = types.either types.int (types.enum ["auto"]);
default = 1;
example = 64;
description = ''
Loading