Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 887043c22e97
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b8e8721b4923
Choose a head ref

Commits on May 20, 2019

  1. xfce4-13: 4.13.x -> 4.14pre1

    volth committed May 20, 2019
    Copy the full SHA
    dd61fdf View commit details

Commits on May 25, 2019

  1. Copy the full SHA
    86fd8c9 View commit details
  2. Copy the full SHA
    9fc6955 View commit details
  3. Copy the full SHA
    a8defe8 View commit details
  4. Copy the full SHA
    73342be View commit details
  5. Copy the full SHA
    191e4b0 View commit details

Commits on May 26, 2019

  1. Copy the full SHA
    74b3453 View commit details
  2. Copy the full SHA
    93235b8 View commit details
  3. Copy the full SHA
    c7481e6 View commit details
  4. Copy the full SHA
    4a4d3a2 View commit details
  5. Copy the full SHA
    0b7305e View commit details
  6. Copy the full SHA
    dd9598c View commit details
  7. Copy the full SHA
    307a99b View commit details
  8. Copy the full SHA
    d33c64e View commit details
  9. Copy the full SHA
    cdcc504 View commit details
  10. Copy the full SHA
    780ff9a View commit details
  11. Copy the full SHA
    46a5db0 View commit details
  12. Copy the full SHA
    ff2fdc2 View commit details
  13. Copy the full SHA
    2c35078 View commit details
  14. Copy the full SHA
    b6bfb87 View commit details
  15. Copy the full SHA
    e85d03e View commit details
  16. Copy the full SHA
    e734494 View commit details
  17. Copy the full SHA
    8ac5973 View commit details
  18. Copy the full SHA
    99f74c2 View commit details
  19. Copy the full SHA
    204be04 View commit details
  20. Copy the full SHA
    4775c59 View commit details
  21. Copy the full SHA
    8034dac View commit details
  22. Copy the full SHA
    65f449f View commit details
  23. Copy the full SHA
    114bd80 View commit details
  24. Copy the full SHA
    fbe5943 View commit details
  25. Copy the full SHA
    12dec59 View commit details
  26. Copy the full SHA
    fff8b9b View commit details
  27. Copy the full SHA
    89dae4b View commit details
  28. Copy the full SHA
    1540a85 View commit details
  29. Copy the full SHA
    de6e5ea View commit details

Commits on May 28, 2019

  1. org-packages 2019-05-27

    benley committed May 28, 2019
    Copy the full SHA
    dbb6acd View commit details

Commits on May 31, 2019

  1. xournalpp: 1.0.8 -> 1.0.12

    * revisit plugin support, drop old patch
    * use lua5_3 as it seems to expect (require)
    * disable format hardening, fix build
    dtzWill committed May 31, 2019
    Copy the full SHA
    8ea66b0 View commit details

Commits on Jun 1, 2019

  1. Add .github/FUNDING.yml

    worldofpeace committed Jun 1, 2019
    Copy the full SHA
    f6d2ebe View commit details

Commits on Jun 2, 2019

  1. python37Packages.cfgv: 1.6.0 -> 2.0.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.7-cfgv/versions
    r-ryantm committed Jun 2, 2019
    Copy the full SHA
    6caa456 View commit details
  2. pythonPackages.midiutil: init at 1.2.1

    gnidorah committed Jun 2, 2019
    Copy the full SHA
    699a32e View commit details

Commits on Jun 7, 2019

  1. video2midi: init at 0.3.7

    gnidorah committed Jun 7, 2019
    Copy the full SHA
    1dc8c13 View commit details

Commits on Jun 8, 2019

  1. nixos/desktop-managers/xterm: Defaults to xserver's state

    This enhances #61423, which removed the gating of desktop-managers from
    being linked to the xserver's state.
    
    This, though, brought in xterm into all systems, even those without X
    servers.
    
    This change sets the *default* of the xterm desktop-manager to the state
    of the xserver, keeping it enabled by default as a sane fallback.
    
    The xterm desktop-manager can still be enabled or disabled as needed,
    without it being affected by xserver's state.
    samueldr committed Jun 8, 2019
    Copy the full SHA
    fd0f8ad View commit details

Commits on Jun 9, 2019

  1. nixos/documentation: nixos-help: use w3m(1) by default

    It is referenced in various places, but does not work out of the box:
    
    	$ nixos-help
    	/run/current-system/sw/bin/nixos-help: unable to start a web browser; please set $BROWSER
    
    In the user-hidden fallbacks to xdg-open(1) and w3m(1), `nixos-help`
    expects tools to be deliberately installed by users.
    
    For default installations and new users in general, this is unlikely to
    be the case.  Conversely, chances to use `nixos-help` are even higher
    in such cases.
    
    Use w3m-nographics by default to ensure documentation is always
    available.  The documentation browser on ttyS8 already does so, but is
    not accessible in every installation, e.g. VMs with only ttyS0 and SSH
    available.
    
    This obsoletes including it in the base profile's systemPackages,
    so remove the @todo as done.
    klemensn authored and jtojnar committed Jun 9, 2019
    Copy the full SHA
    03d6c40 View commit details

Commits on Jun 10, 2019

  1. waybar: 0.6.7 -> 0.6.8

    Synthetica9 committed Jun 10, 2019
    Copy the full SHA
    f350ad8 View commit details
  2. Copy the full SHA
    637cdbb View commit details

Commits on Jun 13, 2019

  1. noah: init at 0.5.1

    marsam committed Jun 13, 2019
    Copy the full SHA
    7b23256 View commit details
  2. kernel.nix: boot.vesa implies nomodeset

    Without nomodeset the console is reset to 80x25 after Grub
    wmertens authored Jun 13, 2019
    Copy the full SHA
    7938c16 View commit details
  3. Fix ddclient extraConfig

    The the extraConfig variable is added below the domain variable in the
    ddclient config file. The domain variable should always be last.
    
    (cherry picked from commit ba0ba6d)
    LasseBlaauwbroek authored and matthiasbeyer committed Jun 13, 2019
    Copy the full SHA
    0515392 View commit details

Commits on Jun 14, 2019

  1. Copy the full SHA
    8fb4a6a View commit details
  2. initial vdr plugin xineliboutput-2.1.0

    Needed to patch package xineLib to fix usage of XINE_PLUGIN_PATH .
    ck3d committed Jun 14, 2019
    Copy the full SHA
    8eafd21 View commit details
Showing 483 changed files with 12,789 additions and 4,400 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

custom: https://nixos.org/nixos/foundation.html
17 changes: 16 additions & 1 deletion maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -1353,6 +1353,11 @@
github = "domenkozar";
name = "Domen Kozar";
};
doronbehar = {
email = "me@doronbehar.com";
github = "doronbehar";
name = "Doron Behar";
};
dotlambda = {
email = "rschuetz17@gmail.com";
github = "dotlambda";
@@ -2185,7 +2190,7 @@
name = "Imuli";
};
infinisil = {
email = "infinisil@icloud.com";
email = "contact@infinisil.com";
github = "infinisil";
name = "Silvan Mosberger";
};
@@ -3273,6 +3278,11 @@
github = "michelk";
name = "Michel Kuhlmann";
};
michojel = {
email = "mic.liamg@gmail.com";
github = "michojel";
name = "Michal Minář";
};
mickours = {
email = "mickours@gmail.com<";
github = "mickours";
@@ -5742,4 +5752,9 @@
github = "zzamboni";
name = "Diego Zamboni";
};
turbomack = {
email = "marek.faj@gmail.com";
github = "turboMaCk";
name = "Marek Fajkus";
};
}
2 changes: 1 addition & 1 deletion maintainers/scripts/luarocks-packages.csv
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ luadbi-mysql,,,,,
luadbi-postgresql,,,,,
luadbi-sqlite3,,,,,
luaevent,,,,,
luaexpat,,,,,flosse
luaexpat,,,1.3.0-1,,arobyn flosse
luaffi,,http://luarocks.org/dev,,,
luafilesystem,,,1.7.0-2,,flosse vcunat
luaossl,,,,lua5_1,vcunat
36 changes: 36 additions & 0 deletions maintainers/scripts/update-discord
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env bash
# script to generate `pkgs/networking/instant-messengers/discord/default.nix`

set -e
exec >${1:?usage: $0 <output-file>}

cat <<EOF
{ branch ? "stable", pkgs }:
let
inherit (pkgs) callPackage fetchurl;
in {
EOF

for branch in "" ptb canary; do
url=$(curl -sI "https://discordapp.com/api/download${branch:+/}${branch}?platform=linux&format=tar.gz" | grep -oP 'location: \K\S+')
version=${url##https://dl*.discordapp.net/apps/linux/}
version=${version%%/*.tar.gz}
echo " ${branch:-stable} = callPackage ./base.nix {"
echo " pname = \"discord${branch:+-}${branch}\";"
case $branch in
"") suffix="" ;;
ptb) suffix="PTB" ;;
canary) suffix="Canary" ;;
esac
echo " binaryName = \"Discord${suffix}\";"
echo " desktopName = \"Discord${suffix:+ }${suffix}\";"
echo " version = \"${version}\";"
echo " src = fetchurl {"
echo " url = \"${url}\";"
echo " sha256 = \"$(nix-prefetch-url "$url")\";"
echo " };"
echo " };"
done

echo "}.\${branch}"
25 changes: 20 additions & 5 deletions nixos/lib/make-ext4-fs.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Builds an ext4 image containing a populated /nix/store with the closure
# of store paths passed in the storePaths parameter. The generated image
# is sized to only fit its contents, with the expectation that a script
# resizes the filesystem at boot time.
# of store paths passed in the storePaths parameter, in addition to the
# contents of a directory that can be populated with commands. The
# generated image is sized to only fit its contents, with the expectation
# that a script resizes the filesystem at boot time.
{ pkgs
# List of derivations to be included
, storePaths
# Shell commands to populate the ./files directory.
# All files in that directory are copied to the root of the FS.
, populateImageCommands ? ""
, volumeLabel
, uuid ? "44444444-4444-4444-8888-888888888888"
, e2fsprogs
@@ -23,13 +28,17 @@ pkgs.stdenv.mkDerivation {

buildCommand =
''
(
mkdir -p ./files
${populateImageCommands}
)
# Add the closures of the top-level store objects.
storePaths=$(cat ${sdClosureInfo}/store-paths)
# Make a crude approximation of the size of the target image.
# If the script starts failing, increase the fudge factors here.
numInodes=$(find $storePaths | wc -l)
numDataBlocks=$(du -c -B 4096 --apparent-size $storePaths | awk '$2 == "total" { print int($1 * 1.03) }')
numInodes=$(find $storePaths ./files | wc -l)
numDataBlocks=$(du -s -c -B 4096 --apparent-size $storePaths ./files | tail -1 | awk '{ print int($1 * 1.03) }')
bytes=$((2 * 4096 * $numInodes + 4096 * $numDataBlocks))
echo "Creating an EXT4 image of $bytes bytes (numInodes=$numInodes, numDataBlocks=$numDataBlocks)"
@@ -47,6 +56,12 @@ pkgs.stdenv.mkDerivation {
echo "copying store paths to image..."
cptofs -t ext4 -i $out $storePaths /nix/store/
(
echo "copying files to image..."
cd ./files
cptofs -t ext4 -i $out ./* /
)
# I have ended up with corrupted images sometimes, I suspect that happens when the build machine's disk gets full during the build.
if ! fsck.ext4 -n -f $out; then
echo "--- Fsck failed for EXT4 image of $bytes bytes (numInodes=$numInodes, numDataBlocks=$numDataBlocks) ---"
4 changes: 2 additions & 2 deletions nixos/modules/hardware/opengl.nix
Original file line number Diff line number Diff line change
@@ -11,9 +11,9 @@ let
videoDrivers = config.services.xserver.videoDrivers;

makePackage = p: pkgs.buildEnv {
name = "mesa-drivers+txc-${p.mesa_drivers.version}";
name = "mesa-drivers+txc-${p.mesa.version}";
paths =
[ p.mesa_drivers
[ p.mesa.drivers
(if cfg.s3tcSupport then p.libtxc_dxtn else p.libtxc_dxtn_s2tc)
];
};
20 changes: 15 additions & 5 deletions nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
Original file line number Diff line number Diff line change
@@ -26,8 +26,15 @@ in
# Also increase the amount of CMA to ensure the virtual console on the RPi3 works.
boot.kernelParams = ["cma=32M" "console=ttyS0,115200n8" "console=ttyAMA0,115200n8" "console=tty0"];

boot.initrd.availableKernelModules = [
# Allows early (earlier) modesetting for the Raspberry Pi
"vc4" "bcm2835_dma" "i2c_bcm2835"
# Allows early (earlier) modesetting for Allwinner SoCs
"sun4i_drm" "sun8i_drm_hdmi" "sun8i_mixer"
];

sdImage = {
populateBootCommands = let
populateFirmwareCommands = let
configTxt = pkgs.writeText "config.txt" ''
kernel=u-boot-rpi3.bin
@@ -43,10 +50,13 @@ in
avoid_warnings=1
'';
in ''
(cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
cp ${pkgs.ubootRaspberryPi3_64bit}/u-boot.bin boot/u-boot-rpi3.bin
cp ${configTxt} boot/config.txt
${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
(cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/firmware/)
cp ${pkgs.ubootRaspberryPi3_64bit}/u-boot.bin firmware/u-boot-rpi3.bin
cp ${configTxt} firmware/config.txt
'';
populateRootCommands = ''
mkdir -p ./files/boot
${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./files/boot
'';
};
}
15 changes: 9 additions & 6 deletions nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ in
boot.kernelParams = ["console=ttyS0,115200n8" "console=ttymxc0,115200n8" "console=ttyAMA0,115200n8" "console=ttyO0,115200n8" "console=ttySAC2,115200n8" "console=tty0"];

sdImage = {
populateBootCommands = let
populateFirmwareCommands = let
configTxt = pkgs.writeText "config.txt" ''
# Prevent the firmware from smashing the framebuffer setup done by the mainline kernel
# when attempting to show low-voltage or overtemperature warnings.
@@ -46,11 +46,14 @@ in
enable_uart=1
'';
in ''
(cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
cp ${pkgs.ubootRaspberryPi2}/u-boot.bin boot/u-boot-rpi2.bin
cp ${pkgs.ubootRaspberryPi3_32bit}/u-boot.bin boot/u-boot-rpi3.bin
cp ${configTxt} boot/config.txt
${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
(cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/firmware/)
cp ${pkgs.ubootRaspberryPi2}/u-boot.bin firmware/u-boot-rpi2.bin
cp ${pkgs.ubootRaspberryPi3_32bit}/u-boot.bin firmware/u-boot-rpi3.bin
cp ${configTxt} firmware/config.txt
'';
populateRootCommands = ''
mkdir -p ./files/boot
${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./files/boot
'';
};
}
15 changes: 9 additions & 6 deletions nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ in
boot.kernelPackages = pkgs.linuxPackages_rpi;

sdImage = {
populateBootCommands = let
populateFirmwareCommands = let
configTxt = pkgs.writeText "config.txt" ''
# Prevent the firmware from smashing the framebuffer setup done by the mainline kernel
# when attempting to show low-voltage or overtemperature warnings.
@@ -35,11 +35,14 @@ in
kernel=u-boot-rpi1.bin
'';
in ''
(cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
cp ${pkgs.ubootRaspberryPiZero}/u-boot.bin boot/u-boot-rpi0.bin
cp ${pkgs.ubootRaspberryPi}/u-boot.bin boot/u-boot-rpi1.bin
cp ${configTxt} boot/config.txt
${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
(cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/firmware/)
cp ${pkgs.ubootRaspberryPiZero}/u-boot.bin firmware/u-boot-rpi0.bin
cp ${pkgs.ubootRaspberryPi}/u-boot.bin firmware/u-boot-rpi1.bin
cp ${configTxt} firmware/config.txt
'';
populateRootCommands = ''
mkdir -p ./files/boot
${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./files/boot
'';
};
}
Loading