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: 360e57a567a7
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2dc7d6197ec0
Choose a head ref

Commits on Sep 19, 2019

  1. netbeans: 11.0 -> 11.1

    asbachb committed Sep 19, 2019
    Copy the full SHA
    b8ae6b1 View commit details
  2. Copy the full SHA
    3954ddd View commit details
  3. Copy the full SHA
    1aef41c View commit details

Commits on Oct 19, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Copy the full SHA
    b36ee87 View commit details

Commits on Oct 20, 2019

  1. Copy the full SHA
    d130224 View commit details
  2. rust-cbindgen: skip expand tests

    The expand tests require unstable rust features.
    andir committed Oct 20, 2019
    Copy the full SHA
    06744bb View commit details
  3. rust-cbdindgen: 0.9.0 -> 0.9.1

    andir committed Oct 20, 2019
    Copy the full SHA
    e07c297 View commit details

Commits on Oct 21, 2019

  1. Copy the full SHA
    7673965 View commit details
  2. clfft: init at 2.21.2

    chessai committed Oct 21, 2019
    Copy the full SHA
    5feacc9 View commit details
  3. elmPackages.*: update to latest versions

    elm-language-server: 1.4.1 -> 1.4.2
    
    downstream updates in others
    BrianHicks committed Oct 21, 2019
    Copy the full SHA
    1d4f48d View commit details
  4. lib/trivial: add pipe function

    `pipe` is a useful operator for creating pipelines of functions.
    
    It works around the usual problem of e.g. string operations becoming
    deeply nested functions.
    
    In principle, there are four different ways this function could be
    written:
    
    pipe val [ f1 .. fn ]
    pipe val [ fn .. f1 ]
    compose [ f1 .. fn ] val
    compose [ fn .. f1 ] val
    
    The third and fourth form mirror composition of functions, they would
    be the same as e.g. `(f1 << f2 << f3 .. << fn) val`.
    However, it is not clear which direction the list should have (as one
    can see in the second form, which is the most absurd.
    
    In order not to confuse users, we decide for the most “intuitive”
    form, which mirrors the way unix pipes work (thus the name `pipe`).
    The flow of data goes from left to right.
    
    Co-Authored-By: Silvan Mosberger <infinisil@icloud.com>
    Profpatsch and infinisil committed Oct 21, 2019
    Copy the full SHA
    8252861 View commit details
  5. Copy the full SHA
    b1c21ad View commit details
  6. Copy the full SHA
    ad5994f View commit details
  7. Merge pull request #71494 from chessai/clFFT-add

    clfft: init at 2.12.2
    c0bw3b authored Oct 21, 2019
    Copy the full SHA
    9f4d260 View commit details
  8. Merge pull request #71521 from BrianHicks/update-elm-language-server

    elmPackages.*: update to latest versions
    domenkozar authored Oct 21, 2019
    Copy the full SHA
    3fd1d47 View commit details
  9. Copy the full SHA
    cfe3c89 View commit details
  10. cutelyst: 2.8.0 -> 2.9.0 (#71519)

    r-ryantm authored and fpletz committed Oct 21, 2019
    Copy the full SHA
    9d281cc View commit details
  11. ammonite: 1.7.1 -> 1.7.4

    NeQuissimus committed Oct 21, 2019
    Copy the full SHA
    b0e4d7b View commit details
  12. Merge pull request #71522 from marsam/update-nodejs

    nodejs-12_x: 12.12.0 -> 12.13.0
    marsam authored Oct 21, 2019
    Copy the full SHA
    fa4524d View commit details
  13. Merge pull request #69124 from asbachb/update-to-netbeans-11.1

    Update to NetBeans 11.1
    fpletz authored Oct 21, 2019
    Copy the full SHA
    a2638b6 View commit details
  14. snzip: init at 1.0.4

    doronbehar authored and fpletz committed Oct 21, 2019
    Copy the full SHA
    a707763 View commit details
  15. Merge pull request #70509 from doronbehar/package-snzip

    snzip: init at 1.0.4
    fpletz authored Oct 21, 2019
    Copy the full SHA
    22b0be5 View commit details
  16. mbedtls: disable auto updates

    Repology indicates dev releases as newer version
    so disable @r-ryantm automatic updates.
    
    cc @fpletz
    c0bw3b authored Oct 21, 2019
    Copy the full SHA
    0ee02a9 View commit details
  17. Merge pull request #70259 from andir/rust-checkflags

    rust introduce `checkFlags` to parametrize test execution
    andir authored Oct 21, 2019
    Copy the full SHA
    8d77a83 View commit details
  18. libechonest: 2.3.0 -> 2.3.1 (#71525)

    Just a package revamp
    + one less sha1 hash in nixpkgs
    c0bw3b authored Oct 21, 2019
    Copy the full SHA
    58ddd8f View commit details
  19. linux: 5.4-rc3 -> 5.4-rc4

    NeQuissimus committed Oct 21, 2019
    Copy the full SHA
    db32ff0 View commit details
  20. calcurse: 4.5.0 -> 4.5.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/calcurse/versions
    r-ryantm authored and FRidh committed Oct 21, 2019
    Copy the full SHA
    6c4114c View commit details
  21. podman: 1.6.1 -> 1.6.2

    Signed-off-by: Sascha Grunert <sgrunert@suse.com>
    saschagrunert authored and FRidh committed Oct 21, 2019
    Copy the full SHA
    64dbf3a View commit details
  22. dbeaver: 6.2.2 -> 6.2.3

    jojosch authored and FRidh committed Oct 21, 2019
    Copy the full SHA
    45ffe82 View commit details
  23. Merge pull request #71386 from d-goldin/docker_runc_cve

    docker-runc: switch to OCI runc 1.0.0-rc8+dev (security)
    NeQuissimus authored Oct 21, 2019
    Copy the full SHA
    2dc7d61 View commit details
4 changes: 2 additions & 2 deletions lib/default.nix
Original file line number Diff line number Diff line change
@@ -57,8 +57,8 @@ let
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 bitAnd bitOr bitXor bitNot
boolToString mergeAttrs flip mapNullable inNixShell min max
inherit (trivial) id const pipe concat or and bitAnd bitOr bitXor
bitNot boolToString mergeAttrs flip mapNullable inNixShell min max
importJSON warn info showWarnings nixpkgsVersion version mod compare
splitByAndCompare functionArgs setFunctionArgs isFunction;
inherit (fixedPoints) fix fix' converge extends composeExtensions
25 changes: 25 additions & 0 deletions lib/tests/misc.nix
Original file line number Diff line number Diff line change
@@ -18,6 +18,31 @@ runTests {
expected = 2;
};

testPipe = {
expr = pipe 2 [
(x: x + 2) # 2 + 2 = 4
(x: x * 2) # 4 * 2 = 8
];
expected = 8;
};

testPipeEmpty = {
expr = pipe 2 [];
expected = 2;
};

testPipeStrings = {
expr = pipe [ 3 4 ] [
(map toString)
(map (s: s + "\n"))
concatStrings
];
expected = ''
3
4
'';
};

/*
testOr = {
expr = or true false;
37 changes: 37 additions & 0 deletions lib/trivial.nix
Original file line number Diff line number Diff line change
@@ -29,6 +29,43 @@ rec {
# Value to ignore
y: x;

/* Pipes a value through a list of functions, left to right.
Type: pipe :: a -> [<functions>] -> <return type of last function>
Example:
pipe 2 [
(x: x + 2) # 2 + 2 = 4
(x: x * 2) # 4 * 2 = 8
]
=> 8
# ideal to do text transformations
pipe [ "a/b" "a/c" ] [
# create the cp command
(map (file: ''cp "${src}/${file}" $out\n''))
# concatenate all commands into one string
lib.concatStrings
# make that string into a nix derivation
(pkgs.runCommand "copy-to-out" {})
]
=> <drv which copies all files to $out>
The output type of each function has to be the input type
of the next function, and the last function returns the
final value.
*/
pipe = val: functions:
let reverseApply = x: f: f x;
in builtins.foldl' reverseApply val functions;
/* note please don’t add a function like `compose = flip pipe`.
This would confuse users, because the order of the functions
in the list is not clear. With pipe, it’s obvious that it
goes first-to-last. With `compose`, not so much.
*/

## Named versions corresponding to some builtin operators.

12 changes: 6 additions & 6 deletions pkgs/applications/editors/netbeans/default.nix
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
}:

let
version = "11.0";
version = "11.1";
desktopItem = makeDesktopItem {
name = "netbeans";
exec = "netbeans";
comment = "Integrated Development Environment";
desktopName = "Netbeans IDE";
desktopName = "Apache NetBeans IDE";
genericName = "Integrated Development Environment";
categories = "Application;Development;";
icon = "netbeans";
@@ -18,8 +18,8 @@ stdenv.mkDerivation {
pname = "netbeans";
inherit version;
src = fetchurl {
url = "mirror://apache/incubator/netbeans/incubating-netbeans/incubating-${version}/incubating-netbeans-${version}-bin.zip";
sha512 = "15mv59njrnq3sjfzb0n7xcc79kpixygf37cxvbswnvm651cw6lb1i9w8wbjivh0z4zcf3f62vbmshxh5pkaxqpqsg0iyy6gddfbwzwx";
url = "mirror://apache/netbeans/netbeans/${version}/netbeans-${version}-bin.zip";
sha512 = "bb061b9258d524b7b53b3b5ee9aa95111f7a391a5e2c5c0bc949164166af9a03d0cebbde2b47a8853fb765307b4c93ce8389a9c87bef26c92c08cdf446314e4d";
};

buildCommand = ''
@@ -48,7 +48,7 @@ stdenv.mkDerivation {
convert -resize "$size"x"$size" netbeans_1024x1024x32.png $out/share/icons/hicolor/"$size"x"$size"/apps/netbeans.png
fi
done;
# Create desktop item, so we can pick it from the KDE/GNOME menu
mkdir -pv $out/share/applications
ln -s ${desktopItem}/share/applications/* $out/share/applications
@@ -58,7 +58,7 @@ stdenv.mkDerivation {

meta = {
description = "An integrated development environment for Java, C, C++ and PHP";
homepage = "https://netbeans.org/";
homepage = "https://netbeans.apache.org/";
license = stdenv.lib.licenses.asl20;
maintainers = with stdenv.lib.maintainers; [ sander rszibele ];
platforms = stdenv.lib.platforms.unix;
4 changes: 2 additions & 2 deletions pkgs/applications/misc/calcurse/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "calcurse";
version = "4.5.0";
version = "4.5.1";

src = fetchurl {
url = "https://calcurse.org/files/${pname}-${version}.tar.gz";
sha256 = "1vjwcmp51h7dsvwn0qx93w9chp3wp970v7d9mjhk7jyamcbfywn3";
sha256 = "0cgkd285x5pk62lmdx9fjxl46c5lj8wj2cqbxq7d99yb4il5fdjk";
};

buildInputs = [ ncurses gettext python3 python3Packages.wrapPython ];
4 changes: 2 additions & 2 deletions pkgs/applications/misc/dbeaver/default.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

stdenv.mkDerivation rec {
pname = "dbeaver-ce";
version = "6.2.2";
version = "6.2.3";

desktopItem = makeDesktopItem {
name = "dbeaver";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
sha256 = "0qpa0wh5lr5lxk9cdv5p1cmbdk1kw1lfqmsfgqxvgfysc1mgjgp1";
sha256 = "1v4sllzvaz4fj8s14ddzw11wczlghbdppv8fl5jg6xglg687sgaj";
};

installPhase = ''
Original file line number Diff line number Diff line change
@@ -14,11 +14,11 @@ assert pulseaudioSupport -> libpulseaudio != null;
let
inherit (stdenv.lib) concatStringsSep makeBinPath optional;

version = "3.0.303290.1010";
version = "3.0.306796.1020";
srcs = {
x86_64-linux = fetchurl {
url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz";
sha256 = "0rs18csmwb8r5n0fc1ka1zjz3f0rydm6fxiy1pa1c2k5bmya56f9";
sha256 = "0nh93pyincwfmx3z5x4s0ym3n0ff492nwd9wh3xkcl518pslxpxy";
};
};

12 changes: 6 additions & 6 deletions pkgs/applications/virtualization/docker/default.nix
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ rec {
name = "docker-runc-${version}";
inherit version;
src = fetchFromGitHub {
owner = "docker";
owner = "opencontainers";
repo = "runc";
rev = runcRev;
sha256 = runcSha256;
@@ -198,14 +198,14 @@ rec {
});

# Get revisions from
# https://github.com/docker/docker-ce/tree/v${version}/components/engine/hack/dockerfile/install/*
# https://github.com/docker/docker-ce/tree/${version}/components/engine/hack/dockerfile/install/*

docker_18_09 = makeOverridable dockerGen {
version = "18.09.9";
rev = "039a7df9ba8097dd987370782fcdd6ea79b26016";
sha256 = "0wqhjx9qs96q2jd091wffn3cyv2aslqn2cvpdpgljk8yr9s0yg7h";
runcRev = "425e105d5a03fabd737a126ad93d62a9eeede87f";
runcSha256 = "05s4p12mgmdcy7gjralh41wlgds6m69zdgwbpdn1xjj2487dmhxf";
runcRev = "3e425f80a8c931f88e6d94a8c831b9d5aa481657";
runcSha256 = "18psc830b2rkwml1x6vxngam5b5wi3pj14mw817rshpzy87prspj";
containerdRev = "894b81a4b802e4eb2a91d1ce216b8817763c29fb";
containerdSha256 = "0sp5mn5wd3xma4svm6hf67hyhiixzkzz6ijhyjkwdrc4alk81357";
tiniRev = "fec3683b971d9c3ef73f284f176672c44b448662";
@@ -216,8 +216,8 @@ rec {
version = "19.03.2";
rev = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e";
sha256 = "0bghqwxlx4v06bwcv3c2wizbihhf983gvypx5sjcbgmiyd3bgb47";
runcRev = "425e105d5a03fabd737a126ad93d62a9eeede87f";
runcSha256 = "05s4p12mgmdcy7gjralh41wlgds6m69zdgwbpdn1xjj2487dmhxf";
runcRev = "3e425f80a8c931f88e6d94a8c831b9d5aa481657";
runcSha256 = "18psc830b2rkwml1x6vxngam5b5wi3pj14mw817rshpzy87prspj";
containerdRev = "894b81a4b802e4eb2a91d1ce216b8817763c29fb";
containerdSha256 = "0sp5mn5wd3xma4svm6hf67hyhiixzkzz6ijhyjkwdrc4alk81357";
tiniRev = "fec3683b971d9c3ef73f284f176672c44b448662";
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/podman/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@

buildGoPackage rec {
pname = "podman";
version = "1.6.1";
version = "1.6.2";

src = fetchFromGitHub {
owner = "containers";
repo = "libpod";
rev = "v${version}";
sha256 = "0s9jxcjx9bkml606rn29358pfavd85m6zshra4qkpbc1iwa6hgr9";
sha256 = "0cwyrzjjgxclnzc1yx6vm2bvq73mldwxfwalkprzlg8vpqbxji8y";
};

goPackagePath = "github.com/containers/libpod";
4 changes: 2 additions & 2 deletions pkgs/build-support/rust/default.nix
Original file line number Diff line number Diff line change
@@ -149,8 +149,8 @@ stdenv.mkDerivation (args // {

checkPhase = args.checkPhase or ''
runHook preCheck
echo "Running cargo test"
cargo test
echo "Running cargo cargo test -- ''${checkFlags} ''${checkFlagsArray+''${checkFlagsArray[@]}}"
cargo test -- ''${checkFlags} ''${checkFlagsArray+"''${checkFlagsArray[@]}"}
runHook postCheck
'';

Loading