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: abe70b78f3ae
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: 3ab846e34aa5
Choose a head ref
  • 12 commits
  • 9 files changed
  • 9 contributors

Commits on Feb 4, 2020

  1. paraview: add wrapQtAppsHook

    Also reformatted meta and arguments
    wucke13 committed Feb 4, 2020
    Copy the full SHA
    b020b01 View commit details
  2. sequoia: 0.11.0 -> 0.13.0

    mmahut committed Feb 4, 2020
    Copy the full SHA
    5485b44 View commit details

Commits on Feb 5, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    3d48206 View commit details
  2. Merge pull request #79249 from marsam/update-bazelisk

    bazelisk: 1.2.1 -> 1.3.0
    Ma27 authored Feb 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2b3d2db View commit details
  3. Copy the full SHA
    0c20feb View commit details
  4. imlib2: 1.5.1 -> 1.6.1

    samueldr authored and FRidh committed Feb 5, 2020
    Copy the full SHA
    2a8df18 View commit details
  5. imlib2: Fix license, remove global with

    samueldr authored and FRidh committed Feb 5, 2020
    Copy the full SHA
    b0f9922 View commit details
  6. imlib2: Add webp support

    And better document why id3 is there
    
    In addition, review function signature formatting.
    samueldr authored and FRidh committed Feb 5, 2020
    Copy the full SHA
    968d075 View commit details
  7. Merge pull request #79226 from mmahut/sequoia

    sequoia: 0.11.0 -> 0.13.0
    worldofpeace authored Feb 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dc708df View commit details
  8. lorri: unstable-2020-01-09 -> 1.0

    curiousleo authored and Profpatsch committed Feb 5, 2020
    Copy the full SHA
    42a2668 View commit details
  9. Merge pull request #79166 from wucke13/master

    paraview: add wrapQtAppsHook
    worldofpeace authored Feb 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d7b56dd View commit details
  10. Merge pull request #35188 from sorki/overlayfs

    use overlayfs by default for netboot and iso
    infinisil authored Feb 5, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3ab846e View commit details
14 changes: 9 additions & 5 deletions nixos/modules/installer/cd-dvd/iso-image.nix
Original file line number Diff line number Diff line change
@@ -569,14 +569,18 @@ in
};

fileSystems."/nix/store" =
{ fsType = "unionfs-fuse";
device = "unionfs";
options = [ "allow_other" "cow" "nonempty" "chroot=/mnt-root" "max_files=32768" "hide_meta_files" "dirs=/nix/.rw-store=rw:/nix/.ro-store=ro" ];
{ fsType = "overlay";
device = "overlay";
options = [
"lowerdir=/nix/.ro-store"
"upperdir=/nix/.rw-store/store"
"workdir=/nix/.rw-store/work"
];
};

boot.initrd.availableKernelModules = [ "squashfs" "iso9660" "uas" ];
boot.initrd.availableKernelModules = [ "squashfs" "iso9660" "uas" "overlay" ];

boot.initrd.kernelModules = [ "loop" ];
boot.initrd.kernelModules = [ "loop" "overlay" ];

# Closures to be copied to the Nix store on the CD, namely the init
# script and the top-level system configuration directory.
14 changes: 9 additions & 5 deletions nixos/modules/installer/netboot/netboot.nix
Original file line number Diff line number Diff line change
@@ -50,14 +50,18 @@ with lib;
};

fileSystems."/nix/store" =
{ fsType = "unionfs-fuse";
device = "unionfs";
options = [ "allow_other" "cow" "nonempty" "chroot=/mnt-root" "max_files=32768" "hide_meta_files" "dirs=/nix/.rw-store=rw:/nix/.ro-store=ro" ];
{ fsType = "overlay";
device = "overlay";
options = [
"lowerdir=/nix/.ro-store"
"upperdir=/nix/.rw-store/store"
"workdir=/nix/.rw-store/work"
];
};

boot.initrd.availableKernelModules = [ "squashfs" ];
boot.initrd.availableKernelModules = [ "squashfs" "overlay" ];

boot.initrd.kernelModules = [ "loop" ];
boot.initrd.kernelModules = [ "loop" "overlay" ];

# Closures to be copied to the Nix store, namely the init
# script and the top-level system configuration directory.
13 changes: 8 additions & 5 deletions nixos/modules/system/boot/stage-1-init.sh
Original file line number Diff line number Diff line change
@@ -334,8 +334,10 @@ mountFS() {

# Filter out x- options, which busybox doesn't do yet.
local optionsFiltered="$(IFS=,; for i in $options; do if [ "${i:0:2}" != "x-" ]; then echo -n $i,; fi; done)"
# Prefix (lower|upper|work)dir with /mnt-root (overlayfs)
local optionsPrefixed="$( echo "$optionsFiltered" | sed -E 's#\<(lowerdir|upperdir|workdir)=#\1=/mnt-root#g' )"
echo "$device /mnt-root$mountPoint $fsType $optionsFiltered" >> /etc/fstab
echo "$device /mnt-root$mountPoint $fsType $optionsPrefixed" >> /etc/fstab
checkFS "$device" "$fsType"
@@ -354,10 +356,11 @@ mountFS() {
;;
esac
# Create backing directories for unionfs-fuse.
if [ "$fsType" = unionfs-fuse ]; then
for i in $(IFS=:; echo ${options##*,dirs=}); do
mkdir -m 0700 -p /mnt-root"${i%=*}"
# Create backing directories for overlayfs
if [ "$fsType" = overlay ]; then
for i in upper work; do
dir="$( echo "$optionsPrefixed" | grep -o "${i}dir=[^,]*" )"
mkdir -m 0700 -p "${dir##*=}"
done
fi
6 changes: 3 additions & 3 deletions nixos/tests/lorri/default.nix
Original file line number Diff line number Diff line change
@@ -15,12 +15,12 @@ import ../make-test-python.nix {
# Start the daemon and wait until it is ready
machine.execute("lorri daemon > lorri.stdout 2> lorri.stderr &")
machine.wait_until_succeeds("grep --fixed-strings 'lorri: ready' lorri.stdout")
machine.wait_until_succeeds("grep --fixed-strings 'ready' lorri.stdout")
# Ping the daemon
machine.execute("lorri ping_ $(readlink -f shell.nix)")
machine.succeed("lorri internal__ping shell.nix")
# Wait for the daemon to finish the build
machine.wait_until_succeeds("grep --fixed-strings 'OutputPaths' lorri.stdout")
machine.wait_until_succeeds("grep --fixed-strings 'Completed' lorri.stdout")
'';
}
24 changes: 10 additions & 14 deletions pkgs/applications/graphics/paraview/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
stdenv, fetchFromGitHub, cmake, makeWrapper
,qtbase, qttools, python, libGLU, libGL
,libXt, qtx11extras, qtxmlpatterns
, mkDerivation
}:
{ stdenv, fetchFromGitHub, cmake, makeWrapper, qtbase , qttools, python
, libGLU, libGL , libXt, qtx11extras, qtxmlpatterns , mkDerivation }:

mkDerivation rec {
pname = "paraview";
@@ -53,20 +49,20 @@ mkDerivation rec {

# Paraview links into the Python library, resolving symbolic links on the way,
# so we need to put the correct sitePackages (with numpy) back on the path
postInstall = ''
wrapProgram $out/bin/paraview \
preFixup = ''
wrapQtApp $out/bin/paraview \
--prefix PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
wrapProgram $out/bin/pvbatch \
wrapQtApp $out/bin/pvbatch \
--prefix PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
wrapProgram $out/bin/pvpython \
wrapQtApp $out/bin/pvpython \
--prefix PYTHONPATH "${python.pkgs.numpy}/${python.sitePackages}"
'';

meta = {
meta = with stdenv.lib; {
homepage = http://www.paraview.org/;
description = "3D Data analysis and visualization application";
license = stdenv.lib.licenses.free;
maintainers = with stdenv.lib.maintainers; [guibert];
platforms = with stdenv.lib.platforms; linux;
license = licenses.free;
maintainers = with maintainers; [ guibert ];
platforms = platforms.linux;
};
}
37 changes: 23 additions & 14 deletions pkgs/development/libraries/imlib2/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
{ stdenv, fetchurl, libjpeg, libtiff, giflib, libpng, bzip2, pkgconfig
, freetype, libid3tag
, x11Support ? true, xlibsWrapper ? null }:

with stdenv.lib;

{ stdenv, fetchurl
# Image file formats
, libjpeg, libtiff, giflib, libpng, libwebp
# imlib2 can load images from ID3 tags.
, libid3tag
, freetype , bzip2, pkgconfig
, x11Support ? true, xlibsWrapper ? null
}:

let
inherit (stdenv.lib) optional;
in
stdenv.mkDerivation rec {
name = "imlib2-1.5.1";
pname = "imlib2";
version = "1.6.1";

src = fetchurl {
url = "mirror://sourceforge/enlightenment/${name}.tar.bz2";
sha256 = "1bms2iwmvnvpz5jqq3r52glarqkafif47zbh1ykz8hw85d2mfkps";
url = "mirror://sourceforge/enlightenment/${pname}-${version}.tar.bz2";
sha256 = "0v8n3dswx7rxqfd0q03xwc7j2w1mv8lv18rdxv487a1xw5vklfad";
};

buildInputs = [ libjpeg libtiff giflib libpng bzip2 freetype libid3tag ]
++ optional x11Support xlibsWrapper;
buildInputs = [
libjpeg libtiff giflib libpng libwebp
bzip2 freetype libid3tag
] ++ optional x11Support xlibsWrapper;

nativeBuildInputs = [ pkgconfig ];

@@ -35,7 +44,7 @@ stdenv.mkDerivation rec {
moveToOutput bin/imlib2-config "$dev"
'';

meta = {
meta = with stdenv.lib; {
description = "Image manipulation library";

longDescription = ''
@@ -46,8 +55,8 @@ stdenv.mkDerivation rec {
easily, without sacrificing speed.
'';

homepage = http://docs.enlightenment.org/api/imlib2/html;
license = licenses.free;
homepage = "https://docs.enlightenment.org/api/imlib2/html";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ spwhitt ];
};
6 changes: 3 additions & 3 deletions pkgs/development/tools/bazelisk/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

buildGoModule rec {
pname = "bazelisk";
version = "1.2.1";
version = "1.3.0";

src = fetchFromGitHub {
owner = "bazelbuild";
repo = pname;
rev = "v${version}";
sha256 = "1rjv21jwq2lkyq60qqg6bd8226dz90hanl3zd9fjlms3vm0zarf8";
sha256 = "15h4mbsfjwby4wq57rdj4dzsf595qjfgi3v5zw62yycn3m2w922p";
};

modSha256 = "0gs8y618izqi0gfa46jqh79yj8lzsmc6yj95fakhp2f5i8v1xrmx";
modSha256 = "1w8k659ifapcxbbim0nf7wd7w10bhlagc33q08izh84gcgsh0yyz";

meta = with stdenv.lib; {
description = "A user-friendly launcher for Bazel";
8 changes: 4 additions & 4 deletions pkgs/tools/misc/lorri/default.nix
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@

rustPlatform.buildRustPackage rec {
pname = "lorri";
version = "unstable-2020-01-09";
version = "1.0";

meta = with stdenv.lib; {
description = "Your project's nix-env";
@@ -27,11 +27,11 @@ rustPlatform.buildRustPackage rec {
owner = "target";
repo = pname;
# Run `eval $(nix-build -A lorri.updater)` after updating the revision!
rev = "7b84837b9988d121dd72178e81afd440288106c5";
sha256 = "0rkga944jl6i0051vbsddfqbvzy12168cbg4ly2ng1rk0x97dbr8";
rev = "88c680c9abf0f04f2e294436d20073ccf26f0781";
sha256 = "1415mhdr0pwvshs04clfz1ys76r5qf9jz8jchm63l6llaj6m7mrv";
};

cargoSha256 = "0k7l0zhk2vzf4nlwv4xr207irqib2dqjxfdjk1fprff84c4kblx8";
cargoSha256 = "1kdpzbn3353yk7i65hll480fcy16wdvppdr6xgfh06x88xhim4mp";
doCheck = false;

BUILD_REV_COUNT = src.revCount or 1;
6 changes: 3 additions & 3 deletions pkgs/tools/security/sequoia/default.nix
Original file line number Diff line number Diff line change
@@ -9,16 +9,16 @@ assert pythonSupport -> pythonPackages != null;

rustPlatform.buildRustPackage rec {
pname = "sequoia";
version = "0.11.0";
version = "0.13.0";

src = fetchFromGitLab {
owner = "sequoia-pgp";
repo = pname;
rev = "v${version}";
sha256 = "1k0pr3vn77fpfzyvbg7xb4jwm6srsiws9bsd8q7i3hl6j56a880i";
sha256 = "0hxdjzd2qjwf9pbnkzrnzlg0xa8vf1f65aryq7pd9895bpnk7740";
};

cargoSha256 = "15bhg7b88rq8p0bn6y5wwv2l42kqb1qyx2s3kw0r0v0wadf823q3";
cargoSha256 = "0w968ynxqkznp9g1ah040iv6ghwqwqjk1cjlr2f0j5fs57rspzf2";

nativeBuildInputs = [
pkgconfig