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: 2ca0cfb0d12e
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: 6450d8c5ca6f
Choose a head ref

Commits on Jan 31, 2019

  1. nixos/etc: Make symlinks relative instead of absolute

    so that the links can be followed if the NixOS installation is not mounted as filesystem root.
    In particular, this makes /etc/os-release adhere to the standard:
    https://www.freedesktop.org/software/systemd/man/os-release.html
    Fixes #28833.
    florianjacob authored and danbst committed Jan 31, 2019
    Copy the full SHA
    fc8e174 View commit details
  2. Copy the full SHA
    f47bfce View commit details
  3. this is not related to this PR

    danbst committed Jan 31, 2019
    Copy the full SHA
    fd807c6 View commit details
  4. 🤦

    danbst committed Jan 31, 2019
    Copy the full SHA
    3ae5420 View commit details

Commits on Feb 19, 2019

  1. treewide: assemble all fetchurlBoot uses in overrides to fetchurl

    … itself
    
    The only outside-curl uses of `fetchurlBoot` left are `stdenv`
    and `apple-source-releases`. The latter one can probably be removed
    too, but I can't test it.
    
    Pros:
    
    - Aggregates all behind-the-scenes insanity in a single place.
    
    Cons:
    
    - At the cost of 10 more derivations (but 0 new outpaths).
    oxij committed Feb 19, 2019
    Copy the full SHA
    a1fec86 View commit details

Commits on Feb 20, 2019

  1. Copy the full SHA
    9f3fe63 View commit details

Commits on Feb 21, 2019

  1. xterm: 342 -> 344

    NeQuissimus committed Feb 21, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    f4e98fd View commit details
  2. radare2: 3.2.1 -> 3.3.0

    Mic92 committed Feb 21, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Mic92 Jörg Thalheim
    Copy the full SHA
    c41ed75 View commit details
  3. nix-prefetch: init at 0.1.0

    msteen committed Feb 21, 2019
    Copy the full SHA
    b0ec4c1 View commit details
  4. Verified

    This commit was signed with the committer’s verified signature.
    dywedir Vlad M.
    Copy the full SHA
    cf54940 View commit details
  5. mgba: 0.6.3 -> 0.7.0

    Cray Elliott authored and Cray Elliott committed Feb 21, 2019
    Copy the full SHA
    c210206 View commit details
  6. openjdk11: 11.0.1+13 -> 11.0.2+9

    Cray Elliott authored and Cray Elliott committed Feb 21, 2019
    Copy the full SHA
    6959c37 View commit details
  7. Copy the full SHA
    c8e61ef View commit details
  8. Copy the full SHA
    d5f45a6 View commit details
  9. Copy the full SHA
    5aa3f23 View commit details
  10. Copy the full SHA
    7e153d9 View commit details
  11. mwprocapture: 1.2.3950 -> 1.2.4054

    Cray Elliott authored and Cray Elliott committed Feb 21, 2019
    Copy the full SHA
    da4484c View commit details
  12. Merge pull request #56111 from NeQuissimus/xterm_344

    xterm: 342 -> 344
    Mic92 authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a9b16ad View commit details
  13. Merge pull request #56129 from dywedir/alacritty

    alacritty: add wayland, libxkbcommon to rpath
    Mic92 authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bf1b39d View commit details
  14. Merge pull request #56113 from Mic92/radare2

    radare2: 3.2.1 -> 3.3.0
    Mic92 authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6fed647 View commit details
  15. dolphinEmuMaster: 2018-12-25 -> 2019-02-16

    Cray Elliott authored and Cray Elliott committed Feb 21, 2019
    Copy the full SHA
    4cfb4ec View commit details
  16. nixos/xserver: drop intel from videoDrivers (#55583)

    * nixos/xserver: drop intel from videoDrivers
    
    * Some more notes about possible regressions
    7c6f434c authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    95039d0 View commit details
  17. Merge pull request #56067 from oxij/tree/fetchurl-boot

    treewide: assemble all `fetchurlBoot` uses in overrides to `fetchurl`
    7c6f434c authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a059fc7 View commit details
  18. Merge pull request #56004 from eskimor/add-nix-serve-help

    nixos-nix-serve: Add some hint on howto get valid signing keys.
    Mic92 authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    183919a View commit details
  19. Merge pull request #54980 from danbst/etc-relative

    nixos: make symlinks in `/etc` relative (except `/etc/static`)
    7c6f434c authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0b91fa4 View commit details
  20. Merge pull request #53878 from msteen/nix-prefetch

    nix-prefetch: init at 0.1.0
    7c6f434c authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ecfcf8b View commit details
  21. Merge pull request #56136 from jacereda/cereal-check-86

    cereal: run test suite on ghc-8.6
    peti authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1c6855a View commit details
  22. Merge pull request #56138 from jacereda/psqueues-check-86

    psqueues: run test suite on ghc-8.6
    peti authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    48db7bf View commit details
  23. Merge pull request #56139 from jacereda/psqueues-check-head

    psqueues: run test suite on ghc-head
    peti authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    62eae63 View commit details
  24. Merge pull request #56137 from jacereda/cereal-check-head

    cereal: run test suite on ghc-head
    peti authored Feb 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1d6532d View commit details
  25. Copy the full SHA
    7a6bbb4 View commit details
  26. Copy the full SHA
    6450d8c View commit details
31 changes: 30 additions & 1 deletion nixos/doc/manual/release-notes/rl-1903.xml
Original file line number Diff line number Diff line change
@@ -535,6 +535,20 @@
use <literal>nixos-rebuild boot; reboot</literal>.
</para>
</listitem>
<listitem>
<para>
Symlinks in <filename>/etc</filename> (except <filename>/etc/static</filename>)
are now relative instead of absolute. This makes possible to examine
NixOS container's <filename>/etc</filename> directory from host system
(previously it pointed to host <filename>/etc</filename> when viewed from host,
and to container <filename>/etc</filename> when viewed from container chroot).
</para>
<para>
This also makes <filename>/etc/os-release</filename> adhere to
<link xlink:href="https://www.freedesktop.org/software/systemd/man/os-release.html">the standard</link>
for NixOS containers.
</para>
</listitem>
<listitem>
<para>
Flat volumes are now disabled by default in <literal>hardware.pulseaudio</literal>.
@@ -604,7 +618,22 @@
The kubernetes module does no longer add the kubernetes package to
<varname>environment.systemPackages</varname> implicitly.
</para>
</listitem>
</listitem>
<listitem>
<para>
The <literal>intel</literal> driver has been removed from the default list of
<link linkend="opt-services.xserver.videoDrivers">X.org video drivers</link>.
The <literal>modesetting</literal> driver should take over automatically,
it is better maintained upstream and has less problems with advanced X11 features.
Some performance regressions on some GPU models might happen.
Some OpenCL and VA-API applications might also break
(Beignet seems to provide OpenCL support with
<literal>modesetting</literal> driver, too).
Users who need this functionality more than multi-output XRandR are advised
to add `intel` to `videoDrivers` and report an issue (or provide additional
details in an existing one)
</para>
</listitem>
</itemizedlist>
</section>
</section>
9 changes: 9 additions & 0 deletions nixos/modules/services/networking/nix-serve.nix
Original file line number Diff line number Diff line change
@@ -31,6 +31,15 @@ in
default = null;
description = ''
The path to the file used for signing derivation data.
Generate with:
```
nix-store --generate-binary-cache-key key-name secret-key-file public-key-file
```
Make sure user `nix-serve` has read access to the private key file.
For more details see <citerefentry><refentrytitle>nix-store</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
'';
};

2 changes: 1 addition & 1 deletion nixos/modules/services/x11/xserver.nix
Original file line number Diff line number Diff line change
@@ -240,7 +240,7 @@ in
videoDrivers = mkOption {
type = types.listOf types.str;
# !!! We'd like "nv" here, but it segfaults the X server.
default = [ "ati" "cirrus" "intel" "vesa" "vmware" "modesetting" ];
default = [ "ati" "cirrus" "vesa" "vmware" "modesetting" ];
example = [
"ati_unfree" "amdgpu" "amdgpu-pro"
"nv" "nvidia" "nvidiaLegacy340" "nvidiaLegacy304"
15 changes: 10 additions & 5 deletions nixos/modules/system/etc/make-etc.sh
Original file line number Diff line number Diff line change
@@ -10,6 +10,11 @@ users_=($users)
groups_=($groups)
set +f

# Create relative symlinks, so that the links can be followed if
# the NixOS installation is not mounted as filesystem root.
# Absolute symlinks violate the os-release format
# at https://www.freedesktop.org/software/systemd/man/os-release.html
# and break e.g. systemd-nspawn and os-prober.
for ((i = 0; i < ${#targets_[@]}; i++)); do
source="${sources_[$i]}"
target="${targets_[$i]}"
@@ -19,28 +24,28 @@ for ((i = 0; i < ${#targets_[@]}; i++)); do
# If the source name contains '*', perform globbing.
mkdir -p $out/etc/$target
for fn in $source; do
ln -s "$fn" $out/etc/$target/
ln -s --relative "$fn" $out/etc/$target/
done

else

mkdir -p $out/etc/$(dirname $target)
if ! [ -e $out/etc/$target ]; then
ln -s $source $out/etc/$target
ln -s --relative $source $out/etc/$target
else
echo "duplicate entry $target -> $source"
if test "$(readlink $out/etc/$target)" != "$source"; then
echo "mismatched duplicate entry $(readlink $out/etc/$target) <-> $source"
exit 1
fi
fi

if test "${modes_[$i]}" != symlink; then
echo "${modes_[$i]}" > $out/etc/$target.mode
echo "${users_[$i]}" > $out/etc/$target.uid
echo "${groups_[$i]}" > $out/etc/$target.gid
fi

fi
done

19 changes: 17 additions & 2 deletions nixos/modules/system/etc/setup-etc.pl
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
use File::Path;
use File::Basename;
use File::Slurp;
use File::Spec;

my $etc = $ARGV[0] or die;
my $static = "/etc/static";
@@ -17,6 +18,20 @@ sub atomicSymlink {
return 1;
}

# Create relative symlinks, so that the links can be followed if
# the NixOS installation is not mounted as filesystem root.
# Absolute symlinks violate the os-release format
# at https://www.freedesktop.org/software/systemd/man/os-release.html
# and break e.g. systemd-nspawn and os-prober.
sub atomicRelativeSymlink {
my ($source, $target) = @_;
my $tmp = "$target.tmp";
unlink $tmp;
my $rel = File::Spec->abs2rel($source, dirname $target);
symlink $rel, $tmp or return 0;
rename $tmp, $target or return 0;
return 1;
}

# Atomically update /etc/static to point at the etc files of the
# current configuration.
@@ -103,7 +118,7 @@ sub link {
if (-e "$_.mode") {
my $mode = read_file("$_.mode"); chomp $mode;
if ($mode eq "direct-symlink") {
atomicSymlink readlink("$static/$fn"), $target or warn;
atomicRelativeSymlink readlink("$static/$fn"), $target or warn;
} else {
my $uid = read_file("$_.uid"); chomp $uid;
my $gid = read_file("$_.gid"); chomp $gid;
@@ -117,7 +132,7 @@ sub link {
push @copied, $fn;
print CLEAN "$fn\n";
} elsif (-l "$_") {
atomicSymlink "$static/$fn", $target or warn;
atomicRelativeSymlink "$static/$fn", $target or warn;
}
}

5 changes: 5 additions & 0 deletions pkgs/applications/misc/alacritty/default.nix
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@
libXrandr,
libGL,
xclip,
wayland,
libxkbcommon,
# Darwin Frameworks
cf-private,
AppKit,
@@ -40,6 +42,9 @@ let
libXrandr
libGL
libXi
] ++ lib.optionals stdenv.isLinux [
wayland
libxkbcommon
];
in buildRustPackage rec {
name = "alacritty-${version}";
4 changes: 2 additions & 2 deletions pkgs/applications/misc/xterm/default.nix
Original file line number Diff line number Diff line change
@@ -3,14 +3,14 @@
}:

stdenv.mkDerivation rec {
name = "xterm-342";
name = "xterm-344";

src = fetchurl {
urls = [
"ftp://ftp.invisible-island.net/xterm/${name}.tgz"
"https://invisible-mirror.net/archives/xterm/${name}.tgz"
];
sha256 = "1y8ldzl4h1872fxvpvi2zwa9y3d34872vfdvfasap79lpn8208l0";
sha256 = "1xfdmib8n6gw5s90vbvdhm630k8i2dbprknp4as4mqls27vbiknc";
};

buildInputs =
6 changes: 3 additions & 3 deletions pkgs/development/compilers/openjdk/11.nix
Original file line number Diff line number Diff line change
@@ -18,16 +18,16 @@ let
else "amd64";

major = "11";
update = ".0.1";
build = "13";
update = ".0.2";
build = "9";
repover = "jdk-${major}${update}+${build}";

openjdk = stdenv.mkDerivation {
name = "openjdk-${major}${update}-b${build}";

src = fetchurl {
url = "http://hg.openjdk.java.net/jdk-updates/jdk${major}u/archive/${repover}.tar.gz";
sha256 = "1ri3fv67rvs9xxhc3ynklbprhxbdsgpwafbw6wqj950xy5crgysm";
sha256 = "0xc7nksvj72cgw8zrmvlcwaasinpij1j1959398a4nqvzpvpxg30";
};

nativeBuildInputs = [ pkgconfig ];
17 changes: 4 additions & 13 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
@@ -953,17 +953,13 @@ self: super: {
# Tries to read a file it is not allowed to in the test suite
load-env = dontCheck super.load-env;

# hledger needs a newer megaparsec version than we have in LTS 12.x.
hledger-lib = super.hledger-lib.overrideScope (self: super: {
# cassava-megaparsec = self.cassava-megaparsec_2_0_0;
# hspec-megaparsec = self.hspec-megaparsec_2_0_0;
# megaparsec = self.megaparsec_7_0_4;
});

# Copy hledger man pages from data directory into the proper place. This code
# should be moved into the cabal2nix generator.
hledger = overrideCabal super.hledger (drv: {
postInstall = ''
# Don't install files that don't belong into this package to avoid
# conflicts when hledger and hledger-ui end up in the same profile.
rm embeddedfiles/hledger-{api,ui,web}.*
for i in $(seq 1 9); do
for j in embeddedfiles/*.$i; do
mkdir -p $out/share/man/man$i
@@ -974,7 +970,7 @@ self: super: {
cp -v embeddedfiles/*.info* $out/share/info/
'';
});
hledger-ui = (overrideCabal super.hledger-ui (drv: {
hledger-ui = overrideCabal super.hledger-ui (drv: {
postInstall = ''
for i in $(seq 1 9); do
for j in *.$i; do
@@ -985,11 +981,6 @@ self: super: {
mkdir -p $out/share/info
cp -v *.info* $out/share/info/
'';
})).overrideScope (self: super: {
# cassava-megaparsec = self.cassava-megaparsec_2_0_0;
# config-ini = self.config-ini_0_2_4_0;
# hspec-megaparsec = self.hspec-megaparsec_2_0_0;
# megaparsec = self.megaparsec_7_0_4;
});
hledger-web = overrideCabal super.hledger-web (drv: {
postInstall = ''
2 changes: 0 additions & 2 deletions pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
Original file line number Diff line number Diff line change
@@ -45,7 +45,6 @@ self: super: {
unordered-containers = dontCheck super.unordered-containers;

# Test suite does not compile.
cereal = dontCheck super.cereal;
data-clist = doJailbreak super.data-clist; # won't cope with QuickCheck 2.12.x
dates = doJailbreak super.dates; # base >=4.9 && <4.12
Diff = dontCheck super.Diff;
@@ -54,7 +53,6 @@ self: super: {
hpc-coveralls = doJailbreak super.hpc-coveralls; # https://github.com/guillaume-nargeot/hpc-coveralls/issues/82
http-api-data = doJailbreak super.http-api-data;
persistent-sqlite = dontCheck super.persistent-sqlite;
psqueues = dontCheck super.psqueues; # won't cope with QuickCheck 2.12.x
system-fileio = dontCheck super.system-fileio; # avoid dependency on broken "patience"
unicode-transforms = dontCheck super.unicode-transforms;
wl-pprint-extras = doJailbreak super.wl-pprint-extras; # containers >=0.4 && <0.6 is too tight; https://github.com/ekmett/wl-pprint-extras/issues/17
2 changes: 0 additions & 2 deletions pkgs/development/haskell-modules/configuration-ghc-head.nix
Original file line number Diff line number Diff line change
@@ -52,15 +52,13 @@ self: super: {
unordered-containers = dontCheck super.unordered-containers;

# Test suite does not compile.
cereal = dontCheck super.cereal;
data-clist = doJailbreak super.data-clist; # won't cope with QuickCheck 2.12.x
dates = doJailbreak super.dates; # base >=4.9 && <4.12
Diff = dontCheck super.Diff;
HaTeX = doJailbreak super.HaTeX; # containers >=0.4 && <0.6 is too tight; https://github.com/Daniel-Diaz/HaTeX/issues/126
hpc-coveralls = doJailbreak super.hpc-coveralls; # https://github.com/guillaume-nargeot/hpc-coveralls/issues/82
http-api-data = doJailbreak super.http-api-data;
persistent-sqlite = dontCheck super.persistent-sqlite;
psqueues = dontCheck super.psqueues; # won't cope with QuickCheck 2.12.x
system-fileio = dontCheck super.system-fileio; # avoid dependency on broken "patience"
unicode-transforms = dontCheck super.unicode-transforms;
wl-pprint-extras = doJailbreak super.wl-pprint-extras; # containers >=0.4 && <0.6 is too tight; https://github.com/ekmett/wl-pprint-extras/issues/17
8 changes: 4 additions & 4 deletions pkgs/development/interpreters/perl/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurlBoot, buildPackages
{ lib, stdenv, fetchurl, buildPackages
, enableThreading ? stdenv ? glibc, makeWrapper
}:

@@ -27,7 +27,7 @@ let

name = "perl-${version}";

src = fetchurlBoot {
src = fetchurl {
url = "mirror://cpan/src/5.0/${name}.tar.gz";
inherit sha256;
};
@@ -46,7 +46,7 @@ let
]
++ optional (versionOlder version "5.29.6")
# Fix parallel building: https://rt.perl.org/Public/Bug/Display.html?id=132360
(fetchurlBoot {
(fetchurl {
url = "https://rt.perl.org/Public/Ticket/Attachment/1502646/807252/0001-Fix-missing-build-dependency-for-pods.patch";
sha256 = "1bb4mldfp8kq1scv480wm64n2jdsqa3ar46cjp1mjpby8h5dr2r0";
})
@@ -159,7 +159,7 @@ let
} // stdenv.lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) rec {
crossVersion = "276849e62f472c1b241d9e7b38a28e4cc9f98563"; # Dez 02, 2018

perl-cross-src = fetchurlBoot {
perl-cross-src = fetchurl {
url = "https://github.com/arsv/perl-cross/archive/${crossVersion}.tar.gz";
sha256 = "1fpr1m9lgkwdp1vmdr0s6gvmcpd0m8q6jwn024bkczc2h37bdynd";
};
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libssh2/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ stdenv, fetchurlBoot, openssl, zlib, windows }:
{ stdenv, fetchurl, openssl, zlib, windows }:

stdenv.mkDerivation rec {
name = "libssh2-1.8.0";

src = fetchurlBoot {
src = fetchurl {
url = "${meta.homepage}/download/${name}.tar.gz";
sha256 = "1m3n8spv79qhjq4yi0wgly5s5rc8783jb1pyra9bkx1md0plxwrr";
};
Loading