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: 183f56f2d62e
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: c839771129f1
Choose a head ref

Commits on May 11, 2018

  1. emby: 3.4.0.0 -> 3.4.1.0

    fadenb committed May 11, 2018
    Copy the full SHA
    d510ab9 View commit details
  2. Copy the full SHA
    5862c68 View commit details
  3. Copy the full SHA
    1bfa8c2 View commit details
  4. Fix typo

    alexfmpe committed May 11, 2018
    Copy the full SHA
    cb44120 View commit details
  5. Merge pull request #40350 from alexfmpe/fix-typo

    osx-private-sdk: fix typo in comment
    grahamc authored May 11, 2018
    Copy the full SHA
    aa76293 View commit details
  6. tdesktop: Fix the icon path (#40298)

    The `.desktop` file now refers to the icon as `telegram` instead of `telegram-desktop`. This caused a placeholder icon to be shown instead.
    cruizh authored and primeos committed May 11, 2018
    Copy the full SHA
    5f8ee95 View commit details
  7. Merge pull request #40189 from catern/contextvars

    Add pythonPackages.immutables, pythonPackages.contextvars
    dotlambda authored May 11, 2018
    Copy the full SHA
    188fdf5 View commit details
  8. falkon: 3.0.0 -> 3.0.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/falkon/versions.
    
    These checks were done:
    
    - built on NixOS
    - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
    - found 3.0.1 with grep in /nix/store/daa848kdkmv0l77b796h86djs0yn2wwh-falkon-3.0.1
    - directory tree listing: https://gist.github.com/f0235aa275d8b64a8b8f61cf7b328049
    R. RyanTM committed May 11, 2018
    Copy the full SHA
    0952195 View commit details
  9. lib: Add more configure flag helpers

    Add with/without to match enable/disable, and add
    `--{enable,with}-key=value` versions of both.
    Ericson2314 authored and Profpatsch committed May 11, 2018
    Copy the full SHA
    9e9cdd7 View commit details
  10. Merge pull request #40359 from r-ryantm/auto-update/falkon

    falkon: 3.0.0 -> 3.0.1
    adisbladis authored May 11, 2018
    Copy the full SHA
    2f37fec View commit details
  11. tzdata: 2017c -> 2018e

    Notable changes:
    
      - North Korea switches back to +09 on 2018-05-05.
    fpletz committed May 11, 2018
    Copy the full SHA
    9d0202f View commit details
  12. Copy the full SHA
    59a6f93 View commit details
  13. Copy the full SHA
    c4f5d55 View commit details
  14. git-cola: port to qt5

    `git-cola` is a simple GUI `git` wrapper based on QT. Since 2.7
    (namely git-cola/git-cola@293364b)
    it supports QT5 which provides a nicer inteface.
    
    See #33248
    Ma27 committed May 11, 2018
    Copy the full SHA
    1a69587 View commit details
  15. Copy the full SHA
    46fa7ab View commit details
  16. Copy the full SHA
    c983bbb View commit details
  17. Copy the full SHA
    f78c252 View commit details
  18. graphite2: fix cross

    globin committed May 11, 2018
    Copy the full SHA
    2d4e30c View commit details
  19. Merge pull request #40371 from Ma27/git-cola/qt5-port

    git-cola: port to qt5
    dotlambda authored May 11, 2018
    Copy the full SHA
    45ce588 View commit details
  20. Merge pull request #40339 from fadenb/emby_3.4.1.0

    emby: 3.4.0.0 -> 3.4.1.0
    xeji authored May 11, 2018
    Copy the full SHA
    62ee7b7 View commit details
  21. Merge pull request #40191 from catern/trio

    add pythonPackages.outcome, pythonPackages.trio
    dotlambda authored May 11, 2018
    Copy the full SHA
    4e7e246 View commit details
  22. kitty: 0.9.0 -> 0.9.1 (#40335)

    jlesquembre authored and xeji committed May 11, 2018
    Copy the full SHA
    170d799 View commit details
  23. powerline-go: 1.10.0 -> 1.11.0 (#40369)

    sifmelcara authored and xeji committed May 11, 2018
    Copy the full SHA
    ac369f6 View commit details
  24. gimp: only use libgudev on linux

    libgudev relies on udev which is a part of systemd. These are very
    tightly coupled to Linux so we just enable them on Linux.
    matthewbauer committed May 11, 2018
    Copy the full SHA
    1d2f7df View commit details
  25. Copy the full SHA
    341794a View commit details
  26. openmpi: 3.0.1 -> 3.1.0 (#40344)

    markuskowa authored and xeji committed May 11, 2018
    Copy the full SHA
    cd9b1b1 View commit details
  27. Fix small typo in configuration documentation (#40357)

    * Fix small typo in configuration documentation
    * doc: Fix second instance of same typo
    scotttrinh authored and xeji committed May 11, 2018
    Copy the full SHA
    7c2d43f View commit details
  28. hstr: 1.24 -> 1.25 (#40352)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/hstr/versions.
    
    These checks were done:
    
    - built on NixOS
    - ran ‘/nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25/bin/hh -h’ got 0 exit code
    - ran ‘/nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25/bin/hh --help’ got 0 exit code
    - ran ‘/nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25/bin/hstr -h’ got 0 exit code
    - ran ‘/nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25/bin/hstr --help’ got 0 exit code
    - found 1.25 with grep in /nix/store/7z31mpl2b4dh98vvb04nx4hzrrh5k6ak-hstr-1.25
    - directory tree listing: https://gist.github.com/78f6aa615325f274537cb003e3aabf26
    r-ryantm authored and xeji committed May 11, 2018
    Copy the full SHA
    4f06c77 View commit details
  29. fuse3: 3.2.2 -> 3.2.3

    primeos committed May 11, 2018
    Copy the full SHA
    d3e3e13 View commit details
  30. Merge pull request #40378 from obsidiansystems/lib-platform-sort

    lib/systems: Sort platforms, and space CPUs
    Ericson2314 authored May 11, 2018
    Copy the full SHA
    0a77a72 View commit details
  31. Copy the full SHA
    2490c50 View commit details
  32. Copy the full SHA
    e3f6c6d View commit details
  33. Merge pull request #40385 from obsidiansystems/lib-android-platforms

    lib: Add 32-bit Android platforms
    Ericson2314 authored May 11, 2018
    Copy the full SHA
    98a1b89 View commit details
  34. lib/systems/inspect: Fix after assertions

    Function are never equal in Nix, so we need to filter out this attribute
    in ABIs.
    Ericson2314 committed May 11, 2018
    Copy the full SHA
    f4de669 View commit details
  35. lib/systems: Add assertion to "android" ABI

    This is analogous to the GNU assertion.
    Ericson2314 committed May 11, 2018
    Copy the full SHA
    28bacc2 View commit details
  36. Copy the full SHA
    827ef09 View commit details
  37. Merge pull request #40387 from obsidiansystems/android-32

    android cross: Support 32-bit too
    Ericson2314 authored May 11, 2018
    Copy the full SHA
    3fb09ac View commit details
  38. Fix kernel panic on ec2 kvm instances caused by io timeout on nvme ro…

    …ot volume
    Ihor Antonov authored and dezgeg committed May 11, 2018
    Copy the full SHA
    e4777ae View commit details
  39. Fix kernel crash caused by absent root device

    Ihor Antonov authored and dezgeg committed May 11, 2018
    Copy the full SHA
    08ebd83 View commit details

Commits on May 12, 2018

  1. nixos/tests/kafka: fix and refactor tests

    - refactor into single file for all versions
    - improve timing, prevent non-deterministic failures
    - fix tests for i686-linux
    xeji committed May 12, 2018
    Copy the full SHA
    13f83ba View commit details
  2. lib/system: Remove float from androideabi

    There are two different official variations which differ in their float
    support, so such a blanket statement is invalid.
    `lib.systems.platforms.*android` already handles each case correctly.
    
    Correcting an error in 827ef09.
    Ericson2314 committed May 12, 2018
    Copy the full SHA
    6a96dc0 View commit details
  3. Merge pull request #40390 from xeji/kafka

    nixos/tests/kafka: fix and refactor tests
    NeQuissimus authored May 12, 2018
    Copy the full SHA
    92cf881 View commit details
  4. xquartz: fix build

    Things done:
    
    - use libGLU instead of mesa for darwin support
    - move patches from local to github url
    - fixup xquartz install
    
    There may still be some issues at runtime. PRs welcome!
    
    Fixes #40196
    matthewbauer committed May 12, 2018
    Copy the full SHA
    c839771 View commit details
Showing with 583 additions and 1,205 deletions.
  1. +2 −2 doc/configuration.xml
  2. +20 −19 lib/default.nix
  3. +33 −0 lib/strings.nix
  4. +16 −9 lib/systems/examples.nix
  5. +3 −0 lib/systems/inspect.nix
  6. +14 −1 lib/systems/parse.nix
  7. +121 −78 lib/systems/platforms.nix
  8. +5 −0 nixos/maintainers/scripts/ec2/amazon-image.nix
  9. +1 −1 nixos/modules/system/boot/grow-partition.nix
  10. +26 −24 nixos/modules/system/boot/stage-1-init.sh
  11. +0 −7 nixos/modules/virtualisation/amazon-image.nix
  12. +1 −4 nixos/release.nix
  13. +68 −0 nixos/tests/kafka.nix
  14. +0 −48 nixos/tests/kafka_0_10.nix
  15. +0 −48 nixos/tests/kafka_0_11.nix
  16. +0 −48 nixos/tests/kafka_0_9.nix
  17. +0 −48 nixos/tests/kafka_1_0.nix
  18. +3 −2 pkgs/applications/graphics/gimp/default.nix
  19. +2 −2 pkgs/applications/misc/hstr/default.nix
  20. +2 −2 pkgs/applications/misc/kitty/default.nix
  21. +2 −2 pkgs/applications/networking/browsers/falkon/default.nix
  22. +2 −2 pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
  23. +1 −1 pkgs/applications/networking/instant-messengers/telegram/tdesktop/generic.nix
  24. +2 −2 pkgs/applications/version-management/git-and-tools/git-cola/default.nix
  25. +10 −6 pkgs/data/misc/tzdata/default.nix
  26. +3 −3 pkgs/development/libraries/openmpi/default.nix
  27. +2 −2 pkgs/development/libraries/silgraphite/graphite2.nix
  28. +29 −4 pkgs/development/mobile/androidenv/androidndk-pkgs.nix
  29. +21 −0 pkgs/development/python-modules/contextvars/default.nix
  30. +19 −0 pkgs/development/python-modules/immutables/default.nix
  31. +27 −0 pkgs/development/python-modules/outcome/default.nix
  32. +19 −0 pkgs/development/python-modules/prometheus_client/default.nix
  33. +42 −0 pkgs/development/python-modules/trio/default.nix
  34. +26 −0 pkgs/development/python-modules/trustme/default.nix
  35. +1 −1 pkgs/os-specific/darwin/osx-private-sdk/default.nix
  36. +5 −8 pkgs/os-specific/linux/fuse/common.nix
  37. +2 −5 pkgs/os-specific/linux/fuse/default.nix
  38. +0 −8 pkgs/os-specific/linux/fuse/fuse3-fix-version.patch
  39. +2 −2 pkgs/servers/emby/default.nix
  40. +1 −1 pkgs/servers/home-assistant/component-packages.nix
  41. +0 −41 pkgs/servers/x11/xorg/darwin/0002-sdksyms.sh-Use-CPPFLAGS-not-CFLAGS.patch
  42. +0 −297 pkgs/servers/x11/xorg/darwin/0004-Use-old-miTrapezoids-and-miTriangles-routines.patch
  43. +0 −243 pkgs/servers/x11/xorg/darwin/0006-fb-Revert-fb-changes-that-broke-XQuartz.patch
  44. +0 −118 pkgs/servers/x11/xorg/darwin/bundle_main.patch
  45. +0 −12 pkgs/servers/x11/xorg/darwin/private-extern.patch
  46. +0 −80 pkgs/servers/x11/xorg/darwin/stub.patch
  47. +26 −10 pkgs/servers/x11/xorg/overrides.nix
  48. +1 −3 pkgs/servers/x11/xquartz/system-fonts.nix
  49. +2 −2 pkgs/tools/misc/powerline-go/default.nix
  50. +8 −8 pkgs/tools/misc/powerline-go/deps.nix
  51. +1 −1 pkgs/top-level/all-packages.nix
  52. +12 −0 pkgs/top-level/python-packages.nix
4 changes: 2 additions & 2 deletions doc/configuration.xml
Original file line number Diff line number Diff line change
@@ -378,7 +378,7 @@
myPackages = pkgs.buildEnv {
name = "my-packages";
paths = [ aspell bc coreutils ffmpeg nixUnstable emscripten jq nox silver-searcher ];
pathsToLink = [ "/share/man" "/share/doc" /bin" ];
pathsToLink = [ "/share/man" "/share/doc" "/bin" ];
extraOutputsToInstall = [ "man" "doc" ];
};
};
@@ -416,7 +416,7 @@ cp ${myProfile} $out/etc/profile.d/my-profile.sh
nox
silver-searcher
];
pathsToLink = [ "/share/man" "/share/doc" /bin" "/etc" ];
pathsToLink = [ "/share/man" "/share/doc" "/bin" "/etc" ];
extraOutputsToInstall = [ "man" "doc" ];
};
};
39 changes: 20 additions & 19 deletions lib/default.nix
Original file line number Diff line number Diff line change
@@ -51,11 +51,11 @@ let
# back-compat aliases
platforms = systems.forMeta;

inherit (builtins) add addErrorContext attrNames
concatLists deepSeq elem elemAt filter genericClosure genList
getAttr hasAttr head isAttrs isBool isInt isList
isString length lessThan listToAttrs pathExists readFile
replaceStrings seq stringLength sub substring tail;
inherit (builtins) add addErrorContext attrNames concatLists
deepSeq elem elemAt filter genericClosure genList getAttr
hasAttr head isAttrs isBool isInt isList isString length
lessThan listToAttrs pathExists readFile replaceStrings seq
stringLength sub substring tail;
inherit (trivial) id const concat or and boolToString mergeAttrs
flip mapNullable inNixShell min max importJSON warn info
nixpkgsVersion version mod compare splitByAndCompare
@@ -74,30 +74,32 @@ let
inherit (lists) singleton foldr fold foldl foldl' imap0 imap1
concatMap flatten remove findSingle findFirst any all count
optional optionals toList range partition zipListsWith zipLists
reverseList listDfs toposort sort naturalSort compareLists take drop sublist
last init crossLists unique intersectLists subtractLists
mutuallyExclusive;
reverseList listDfs toposort sort naturalSort compareLists take
drop sublist last init crossLists unique intersectLists
subtractLists mutuallyExclusive;
inherit (strings) concatStrings concatMapStrings concatImapStrings
intersperse concatStringsSep concatMapStringsSep
concatImapStringsSep makeSearchPath makeSearchPathOutput
makeLibraryPath makeBinPath makePerlPath optionalString
hasPrefix hasSuffix stringToCharacters stringAsChars escape
escapeShellArg escapeShellArgs replaceChars lowerChars upperChars
toLower toUpper addContextFrom splitString removePrefix
removeSuffix versionOlder versionAtLeast getVersion nameFromURL
enableFeature fixedWidthString fixedWidthNumber isStorePath
escapeShellArg escapeShellArgs replaceChars lowerChars
upperChars toLower toUpper addContextFrom splitString
removePrefix removeSuffix versionOlder versionAtLeast getVersion
nameFromURL enableFeature enableFeatureAs withFeature
withFeatureAs fixedWidthString fixedWidthNumber isStorePath
toInt readPathsFromFile fileContents;
inherit (stringsWithDeps) textClosureList textClosureMap
noDepEntry fullDepEntry packEntry stringAfter;
inherit (customisation) overrideDerivation makeOverridable
callPackageWith callPackagesWith extendDerivation
hydraJob makeScope;
callPackageWith callPackagesWith extendDerivation hydraJob
makeScope;
inherit (meta) addMetaAttrs dontDistribute setName updateName
appendToName mapDerivationAttrset lowPrio lowPrioSet hiPrio
hiPrioSet;
inherit (sources) pathType pathIsDirectory cleanSourceFilter
cleanSource sourceByRegex sourceFilesBySuffices
commitIdFromGitRepo cleanSourceWith pathHasContext canCleanSource;
commitIdFromGitRepo cleanSourceWith pathHasContext
canCleanSource;
inherit (modules) evalModules closeModules unifyModuleSyntax
applyIfFunction unpackSubmodule packSubmodule mergeModules
mergeModules' mergeOptionDecls evalOptionValue mergeDefinitions
@@ -119,8 +121,7 @@ let
traceXMLVal traceXMLValMarked traceSeq traceSeqN traceValSeq
traceValSeqFn traceValSeqN traceValSeqNFn traceShowVal
traceShowValMarked showVal traceCall traceCall2 traceCall3
traceValIfNot runTests testAllTrue traceCallXml
attrNamesToStr;
traceValIfNot runTests testAllTrue traceCallXml attrNamesToStr;
inherit (misc) maybeEnv defaultMergeArg defaultMerge foldArgs
defaultOverridableDelayableArgs composedArgsAndFun
maybeAttrNullable maybeAttr ifEnable checkFlag getValue
@@ -129,7 +130,7 @@ let
closePropagation mapAttrsFlatten nvs setAttr setAttrMerge
mergeAttrsWithFunc mergeAttrsConcatenateValues
mergeAttrsNoOverride mergeAttrByFunc mergeAttrsByFuncDefaults
mergeAttrsByFuncDefaultsClean mergeAttrBy
prepareDerivationArgs nixType imap overridableDelayableArgs;
mergeAttrsByFuncDefaultsClean mergeAttrBy prepareDerivationArgs
nixType imap overridableDelayableArgs;
});
in lib
33 changes: 33 additions & 0 deletions lib/strings.nix
Original file line number Diff line number Diff line change
@@ -414,6 +414,39 @@ rec {
*/
enableFeature = enable: feat: "--${if enable then "enable" else "disable"}-${feat}";

/* Create an --{enable-<feat>=<value>,disable-<feat>} string that can be passed to
standard GNU Autoconf scripts.
Example:
enableFeature true "shared" "foo"
=> "--enable-shared=foo"
enableFeature false "shared" (throw "ignored")
=> "--disable-shared"
*/
enableFeatureAs = enable: feat: value: enableFeature enable feat + optionalString enable "=${value}";

/* Create an --{with,without}-<feat> string that can be passed to
standard GNU Autoconf scripts.
Example:
withFeature true "shared"
=> "--with-shared"
withFeature false "shared"
=> "--without-shared"
*/
withFeature = with_: feat: "--${if with_ then "with" else "without"}-${feat}";

/* Create an --{with-<feat>=<value>,without-<feat>} string that can be passed to
standard GNU Autoconf scripts.
Example:
with_Feature true "shared" "foo"
=> "--with-shared=foo"
with_Feature false "shared" (throw "ignored")
=> "--without-shared"
*/
withFeatureAs = with_: feat: value: withFeature with_ feat + optionalString with_ "=${value}";

/* Create a fixed width string with additional prefix to match
required width.
25 changes: 16 additions & 9 deletions lib/systems/examples.nix
Original file line number Diff line number Diff line change
@@ -29,8 +29,23 @@ rec {
platform = platforms.aarch64-multiplatform;
};

armv5te-android-prebuilt = rec {
config = "armv5tel-unknown-linux-androideabi";
sdkVer = "21";
platform = platforms.armv5te-android;
useAndroidPrebuilt = true;
};

armv7a-android-prebuilt = rec {
config = "armv7a-unknown-linux-androideabi";
sdkVer = "21";
platform = platforms.armv7a-android;
useAndroidPrebuilt = true;
};

aarch64-android-prebuilt = rec {
config = "aarch64-unknown-linux-android";
sdkVer = "21";
platform = platforms.aarch64-multiplatform;
useAndroidPrebuilt = true;
};
@@ -47,15 +62,7 @@ rec {

ben-nanonote = rec {
config = "mipsel-unknown-linux-uclibc";
platform = {
name = "ben_nanonote";
kernelMajor = "2.6";
kernelArch = "mips";
gcc = {
arch = "mips32";
float = "soft";
};
};
platform = platforms.ben_nanonote;
};

fuloongminipc = rec {
3 changes: 3 additions & 0 deletions lib/systems/inspect.nix
Original file line number Diff line number Diff line change
@@ -3,6 +3,9 @@ with import ./parse.nix { inherit lib; };
with lib.attrsets;
with lib.lists;

let abis_ = abis; in
let abis = lib.mapAttrs (_: abi: builtins.removeAttrs abi [ "assertions" ]) abis_; in

rec {
patterns = rec {
isi686 = { cpu = cpuTypes.i686; };
15 changes: 14 additions & 1 deletion lib/systems/parse.nix
Original file line number Diff line number Diff line change
@@ -79,15 +79,20 @@ rec {
armv8r = { bits = 32; significantByte = littleEndian; family = "arm"; };
armv8m = { bits = 32; significantByte = littleEndian; family = "arm"; };
aarch64 = { bits = 64; significantByte = littleEndian; family = "arm"; };

i686 = { bits = 32; significantByte = littleEndian; family = "x86"; };
x86_64 = { bits = 64; significantByte = littleEndian; family = "x86"; };

mips = { bits = 32; significantByte = bigEndian; family = "mips"; };
mipsel = { bits = 32; significantByte = littleEndian; family = "mips"; };
mips64 = { bits = 64; significantByte = bigEndian; family = "mips"; };
mips64el = { bits = 64; significantByte = littleEndian; family = "mips"; };

powerpc = { bits = 32; significantByte = bigEndian; family = "power"; };

riscv32 = { bits = 32; significantByte = littleEndian; family = "riscv"; };
riscv64 = { bits = 64; significantByte = littleEndian; family = "riscv"; };

wasm32 = { bits = 32; significantByte = littleEndian; family = "wasm"; };
wasm64 = { bits = 64; significantByte = littleEndian; family = "wasm"; };
};
@@ -195,7 +200,15 @@ rec {
eabi = {};

androideabi = {};
android = {};
android = {
assertions = [
{ assertion = platform: !platform.isAarch32;
message = ''
The "android" ABI is not for 32-bit ARM. Use "androideabi" instead.
'';
}
];
};

gnueabi = { float = "soft"; };
gnueabihf = { float = "hard"; };
Loading