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: efe6322ce4cb
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: 7d6619e16106
Choose a head ref
Loading
Showing with 1,201 additions and 775 deletions.
  1. +3 −3 lib/sources.nix
  2. +8 −5 nixos/release.nix
  3. +2 −1 nixos/tests/hydra/create-trivial-project.sh
  4. +1 −1 pkgs/applications/audio/espeak-ng/default.nix
  5. +11 −5 pkgs/applications/audio/picard/default.nix
  6. +6 −6 pkgs/applications/editors/android-studio/default.nix
  7. +1 −1 pkgs/applications/misc/gnuradio/rds.nix
  8. +2 −2 pkgs/applications/misc/visidata/default.nix
  9. +2 −2 pkgs/applications/misc/xca/default.nix
  10. +2 −3 pkgs/applications/networking/browsers/firefox/common.nix
  11. +3 −9 pkgs/applications/networking/browsers/firefox/packages.nix
  12. +0 −110 pkgs/applications/networking/irc/weechat/aggregate-commands.patch
  13. +2 −2 pkgs/applications/science/logic/eprover/default.nix
  14. +8 −2 pkgs/applications/version-management/subversion/default.nix
  15. +4 −3 pkgs/applications/video/makemkv/default.nix
  16. +4 −4 pkgs/applications/virtualization/docker/default.nix
  17. +7 −7 pkgs/applications/virtualization/virt-manager/default.nix
  18. +1 −1 pkgs/desktops/plasma-5/fetch.sh
  19. +180 −180 pkgs/desktops/plasma-5/srcs.nix
  20. +0 −163 pkgs/development/compilers/ghc/7.10.3-binary.nix
  21. +2 −2 pkgs/development/compilers/kotlin/default.nix
  22. +1 −7 pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
  23. +758 −179 pkgs/development/haskell-modules/hackage-packages.nix
  24. +2 −2 pkgs/development/libraries/libdigidocpp/default.nix
  25. +3 −3 pkgs/development/libraries/mesa/default.nix
  26. +1 −1 pkgs/development/libraries/qt-5/5.11/default.nix
  27. +1 −1 pkgs/development/libraries/qt-5/modules/qtbase.nix
  28. +4 −0 pkgs/development/ruby-modules/gem-config/default.nix
  29. +2 −2 pkgs/development/tools/ammonite/default.nix
  30. +39 −1 pkgs/development/tools/build-managers/bazel/default.nix
  31. +2 −2 pkgs/development/tools/build-managers/gradle/default.nix
  32. +1 −1 pkgs/games/blackshades/default.nix
  33. +1 −1 pkgs/games/blackshadeselite/default.nix
  34. +4 −1 pkgs/games/dwarf-fortress/wrapper/default.nix
  35. +1 −1 pkgs/games/privateer/default.nix
  36. +1 −1 pkgs/games/vdrift/default.nix
  37. +3 −3 pkgs/misc/cups/drivers/splix/default.nix
  38. +27 −0 pkgs/os-specific/linux/cpuset/default.nix
  39. +1 −1 pkgs/os-specific/linux/kernel/linux-libre.nix
  40. +17 −11 pkgs/os-specific/linux/ndiswrapper/default.nix
  41. +5 −4 pkgs/os-specific/linux/ndiswrapper/no-sbin.patch
  42. +1 −1 pkgs/servers/asterisk/default.nix
  43. +3 −3 pkgs/shells/zsh/oh-my-zsh/default.nix
  44. +1 −1 pkgs/tools/graphics/netpbm/default.nix
  45. +54 −0 pkgs/tools/security/acsccid/default.nix
  46. +6 −10 pkgs/tools/security/qdigidoc/default.nix
  47. +4 −13 pkgs/tools/security/qesteidutil/default.nix
  48. +9 −5 pkgs/top-level/all-packages.nix
  49. +0 −8 pkgs/top-level/haskell-packages.nix
6 changes: 3 additions & 3 deletions lib/sources.nix
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ rec {
# Get the commit id of a git repo
# Example: commitIdFromGitRepo <nixpkgs/.git>
commitIdFromGitRepo =
let readCommitFromFile = path: file:
let readCommitFromFile = file: path:
with builtins;
let fileName = toString path + "/" + file;
packedRefsName = toString path + "/packed-refs";
@@ -85,7 +85,7 @@ rec {
matchRef = match "^ref: (.*)$" fileContent;
in if isNull matchRef
then fileContent
else readCommitFromFile path (lib.head matchRef)
else readCommitFromFile (lib.head matchRef) path
# Sometimes, the file isn't there at all and has been packed away in the
# packed-refs file, so we have to grep through it:
else if lib.pathExists packedRefsName
@@ -96,7 +96,7 @@ rec {
then throw ("Could not find " + file + " in " + packedRefsName)
else lib.head matchRef
else throw ("Not a .git directory: " + path);
in lib.flip readCommitFromFile "HEAD";
in readCommitFromFile "HEAD";

pathHasContext = builtins.hasContext or (lib.hasPrefix builtins.storeDir);

13 changes: 8 additions & 5 deletions nixos/release.nix
Original file line number Diff line number Diff line change
@@ -45,6 +45,7 @@ let
system.nixos.revision = nixpkgs.rev or nixpkgs.shortRev;
};

makeModules = module: rest: [ configuration versionModule module rest ];

makeIso =
{ module, type, system, ... }:
@@ -53,7 +54,9 @@ let

hydraJob ((import lib/eval-config.nix {
inherit system;
modules = [ configuration module versionModule { isoImage.isoBaseName = "nixos-${type}"; } ];
modules = makeModules module {
isoImage.isoBaseName = "nixos-${type}";
};
}).config.system.build.isoImage);


@@ -64,7 +67,7 @@ let

hydraJob ((import lib/eval-config.nix {
inherit system;
modules = [ configuration module versionModule ];
modules = makeModules module {};
}).config.system.build.sdImage);


@@ -77,7 +80,7 @@ let

config = (import lib/eval-config.nix {
inherit system;
modules = [ configuration module versionModule ];
modules = makeModules module {};
}).config;

tarball = config.system.build.tarball;
@@ -97,7 +100,7 @@ let

buildFromConfig = module: sel: forAllSystems (system: hydraJob (sel (import ./lib/eval-config.nix {
inherit system;
modules = [ configuration module versionModule ] ++ singleton
modules = makeModules module
({ ... }:
{ fileSystems."/".device = mkDefault "/dev/sda1";
boot.loader.grub.device = mkDefault "/dev/sda";
@@ -108,7 +111,7 @@ let
let
configEvaled = import lib/eval-config.nix {
inherit system;
modules = [ module versionModule ];
modules = makeModules module {};
};
build = configEvaled.config.system.build;
kernelTarget = configEvaled.pkgs.stdenv.hostPlatform.platform.kernelTarget;
3 changes: 2 additions & 1 deletion nixos/tests/hydra/create-trivial-project.sh
Original file line number Diff line number Diff line change
@@ -31,7 +31,8 @@ mycurl -X POST -d '@data.json' $URL/login -c hydra-cookie.txt
cat >data.json <<EOF
{
"displayname":"Trivial",
"enabled":"1"
"enabled":"1",
"visible":"1"
}
EOF
mycurl --silent -X PUT $URL/project/$PROJECT_NAME -d @data.json -b hydra-cookie.txt
2 changes: 1 addition & 1 deletion pkgs/applications/audio/espeak-ng/default.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "Open source speech synthesizer that supports over 70 languages, based on eSpeak";
homepage = https://github.com/espeak-ng/espeak-ng;
homepage = src.meta.homepage;
license = licenses.gpl3;
maintainers = with maintainers; [ aske ];
platforms = platforms.linux;
16 changes: 11 additions & 5 deletions pkgs/applications/audio/picard/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@
{ stdenv, python2Packages, fetchurl, gettext }:
{ stdenv, python3Packages, fetchurl, gettext, chromaprint }:

let
pythonPackages = python2Packages;
pythonPackages = python3Packages;
in pythonPackages.buildPythonApplication rec {
pname = "picard";
version = "1.4.2";
version = "2.0.4";

src = fetchurl {
url = "http://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-${version}.tar.gz";
sha256 = "0d12k40d9fbcn801gp5zdsgvjdrh4g97vda3ga16rmmvfwwfxbgh";
sha256 = "0ds3ylpqn717fnzcjrfn05v5xram01bj6n3hwn9igmkd1jgf8vhc";
};

buildInputs = [ gettext ];

propagatedBuildInputs = with pythonPackages; [
pyqt4
pyqt5
mutagen
chromaprint
discid
];

installPhase = ''
python setup.py install --prefix="$out"
'';

prePatch = ''
# Pesky unicode punctuation.
substituteInPlace setup.cfg --replace "‘" "'"
'';

doCheck = false;

meta = with stdenv.lib; {
12 changes: 6 additions & 6 deletions pkgs/applications/editors/android-studio/default.nix
Original file line number Diff line number Diff line change
@@ -13,14 +13,14 @@ let
sha256Hash = "117skqjax1xz9plarhdnrw2rwprjpybdc7mx7wggxapyy920vv5r";
};
betaVersion = {
version = "3.3.0.14"; # "Android Studio 3.3 Beta 2"
build = "182.5078385";
sha256Hash = "10jw508fzxbknfl1l058ksnnli2nav91wmh2x2p0mz96lkf5bvhn";
version = "3.3.0.15"; # "Android Studio 3.3 Beta 3"
build = "182.5105271";
sha256Hash = "03j3g39v1g4jf5q37bd50zfqsgjfnwnyhjgx8vkfwlg263vhhvdq";
};
latestVersion = { # canary & dev
version = "3.4.0.1"; # "Android Studio 3.4 Canary 2"
build = "183.5081642";
sha256Hash = "0ck6habkgnwbr10pr3bfy8ywm3dsm21k9jdj7g685v22sw0zy3yk";
version = "3.4.0.2"; # "Android Studio 3.4 Canary 3"
build = "183.5112304";
sha256Hash = "0dzk4ag1dirfq8l2q91j6hsfyi07wx52qcsmbjb9a2710rlwpdhp";
};
in rec {
# Old alias
2 changes: 1 addition & 1 deletion pkgs/applications/misc/gnuradio/rds.nix
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "bastibl";
repo = "gr-rds";
rev = "$v{version}";
rev = "v${version}";
sha256 = "008284ya464q4h4fd0zvcn6g7bym231p8fl3kdxncz9ks4zsbsxs";
};

4 changes: 2 additions & 2 deletions pkgs/applications/misc/visidata/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@
buildPythonApplication rec {
name = "${pname}-${version}";
pname = "visidata";
version = "1.3.1";
version = "1.5";

src = fetchFromGitHub {
owner = "saulpw";
repo = "visidata";
rev = "v${version}";
sha256 = "1d5sx1kfil1vjkynaac5sjsnn9azxxw834gwbh9plzd5fwxg4dz2";
sha256 = "0schpfksxddbsv0s54pv1jrf151nw9kr51m41fp0ycnw7z2jqirm";
};

propagatedBuildInputs = [dateutil pyyaml openpyxl xlrd h5py fonttools
4 changes: 2 additions & 2 deletions pkgs/applications/misc/xca/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

mkDerivation rec {
name = "xca-${version}";
version = "2.1.1";
version = "2.1.2";

src = fetchFromGitHub {
owner = "chris2511";
repo = "xca";
rev = "RELEASE.${version}";
sha256 = "1d09329a80axwqhxixwasd8scsmh23vsq1076amy5c8173s4ambi";
sha256 = "0slfqmz0b01lwmrv4h78hmrsdrhcyc7sjzsxcw05ylgmhvdq3dw9";
};

postPatch = ''
5 changes: 2 additions & 3 deletions pkgs/applications/networking/browsers/firefox/common.nix
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
## optional libraries

, alsaSupport ? stdenv.isLinux, alsaLib
, pulseaudioSupport ? true, libpulseaudio
, pulseaudioSupport ? stdenv.isLinux, libpulseaudio
, ffmpegSupport ? true, gstreamer, gst-plugins-base
, gtk3Support ? true, gtk2, gtk3, wrapGAppsHook
, gssSupport ? true, kerberos
@@ -196,8 +196,7 @@ stdenv.mkDerivation rec {
]
++ lib.optional (stdenv.isDarwin && lib.versionAtLeast ffversion "61") "--disable-xcode-checks"
++ lib.optional (lib.versionOlder ffversion "61") "--enable-system-hunspell"
++ lib.optionals (lib.versionAtLeast ffversion "56" && !stdenv.hostPlatform.isi686) [
# on i686-linux: --with-libclang-path is not available in this configuration
++ lib.optionals (lib.versionAtLeast ffversion "56") [
"--with-libclang-path=${llvmPackages.libclang}/lib"
"--with-clang-path=${llvmPackages.clang}/bin/clang"
]
12 changes: 3 additions & 9 deletions pkgs/applications/networking/browsers/firefox/packages.nix
Original file line number Diff line number Diff line change
@@ -8,12 +8,6 @@ let
./env_var_for_system_dir.patch
];

firefox60_aarch64_skia_patch = fetchpatch {
name = "aarch64-skia.patch";
url = https://src.fedoraproject.org/rpms/firefox/raw/8cff86d95da3190272d1beddd45b41de3148f8ef/f/build-aarch64-skia.patch;
sha256 = "11acb0ms4jrswp7268nm2p8g8l4lv8zc666a5bqjbb09x9k6b78k";
};

in

rec {
@@ -70,10 +64,10 @@ rec {

firefox-esr-60 = common rec {
pname = "firefox-esr";
ffversion = "60.2.2esr";
ffversion = "60.3.0esr";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
sha512 = "2h2naaxx4lv90bjpcrsma4sdhl4mvsisx3zi09vakjwv2lad91gy41cmcpqprpcbsmlvpqf8yiv52ah4d02a8d9335xhw2ajw6asjc1";
sha512 = "36ipksq4408mfkyzna7kkjyg70nqx0hzg8zp34kmsynl42whvsqhsfl198c34shsx9zhfsag3hzx2ihhfnj8ph8b0xdgyrmi2ijbvbx";
};

patches = nixpkgsPatches ++ [
@@ -82,7 +76,7 @@ rec {
# this one is actually an omnipresent bug
# https://bugzilla.mozilla.org/show_bug.cgi?id=1444519
./fix-pa-context-connect-retval.patch
] ++ lib.optional stdenv.isAarch64 firefox60_aarch64_skia_patch;
];

meta = firefox.meta // {
description = "A web browser built from Firefox Extended Support Release source tree";
110 changes: 0 additions & 110 deletions pkgs/applications/networking/irc/weechat/aggregate-commands.patch

This file was deleted.

4 changes: 2 additions & 2 deletions pkgs/applications/science/logic/eprover/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "eprover-${version}";
version = "2.1";
version = "2.2";

src = fetchurl {
url = "https://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz";
sha256 = "1gh99ajmza33f54idhqkdqxp5zh2k06jsf45drihnrzydlqv1n7l";
sha256 = "08ihpwgkz0l7skr42iw8lm202kqr51i792bs61qsbnk9gsjlab1c";
};

buildInputs = [ which ];
Loading