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: 62dc989963c6
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: c1e1690f629d
Choose a head ref

Commits on Mar 31, 2018

  1. Copy the full SHA
    b2491ba View commit details

Commits on Apr 3, 2018

  1. Copy the full SHA
    d0072be View commit details

Commits on Apr 5, 2018

  1. nbstripout: fix tests

    Building of nbstripout has failed after the version was bumped to 0.3.1 because:
    the test files were missing from the new release tarball. This adds tests by
    using the release tarball from GitHub instead of PyPI.
    
    However, these tests fail because of a bug in one test. Thus, a patch is used to
    fix the tests.
    jluttine committed Apr 5, 2018
    Copy the full SHA
    caf8794 View commit details
  2. nvidia-x11: 390.25 -> 390.48

    Also fixes missing symbol error with kernel 4.16.
    bkchr committed Apr 5, 2018
    Copy the full SHA
    5d2331e View commit details

Commits on Apr 6, 2018

  1. Copy the full SHA
    426dbde View commit details
  2. nerdfonts: 1.1.0 -> 2.0.0

    bump to a version with Nix logo in it
    bricewge committed Apr 6, 2018
    Copy the full SHA
    e70e093 View commit details
  3. rustc: 1.24.0 -> 1.25.0

    bkchr committed Apr 6, 2018
    Copy the full SHA
    0c181bb View commit details
  4. Copy the full SHA
    9fca924 View commit details
  5. openttd: 1.7.2 -> 1.8.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/openttd/versions.
    
    These checks were done:
    
    - built on NixOS
    - ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/openttd -h’ got 0 exit code
    - ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/openttd --help’ got 0 exit code
    - ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/openttd help’ got 0 exit code
    - ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/.openttd-wrapped -h’ got 0 exit code
    - ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/.openttd-wrapped --help’ got 0 exit code
    - ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/.openttd-wrapped help’ got 0 exit code
    - found 1.8.0 with grep in /nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0
    - directory tree listing: https://gist.github.com/8f8e59bc7bf394685911bd755a16c0a9
    R. RyanTM committed Apr 6, 2018
    Copy the full SHA
    2e905fb View commit details
  6. openorienteering-mapper: 0.8.1 -> 0.8.1.2

    Fixes crashes on darwin
    mpickering committed Apr 6, 2018
    Copy the full SHA
    4c7db1c View commit details
  7. Copy the full SHA
    734bae2 View commit details
  8. openorienteering-mapper: Load additional image formats

    This allows tiff images to be loaded correctly as templates.
    mpickering committed Apr 6, 2018
    Copy the full SHA
    0fe94a1 View commit details

Commits on Apr 7, 2018

  1. pcmanx-gtk2: fix build

    It fails to build after automake updates to 1.16
    because libtoolize generates hardcoded configure script
    which uses automake 1.15
    sifmelcara committed Apr 7, 2018
    Copy the full SHA
    209d455 View commit details
  2. nixos/iftop: add module

    This patch is heavily inspired by bd0d8ed which added
    a setcap wrapper for `mtr` in order to allow running `mtr` without
    `sudo`. The need for the capability `cap_net_raw` that can be registered using
    `setcap` has been documented in the Arch Wiki: https://wiki.archlinux.org/index.php/Capabilities#iftop
    
    A simple testcase has been added which starts two machines, one with a
    setcap wrapper for `iftop`, one without. Both testcases monitor the
    bandwidth usage of the machine using the options `-t -s 1` once, the
    machine with setcap wrapper is expected to succeed, the `iftop` on the
    machine without setcap wrapper is expected to return a non-zero exit
    code.
    Ma27 committed Apr 7, 2018
    Copy the full SHA
    50a34e5 View commit details
  3. Copy the full SHA
    458b2c6 View commit details
  4. vscode: 1.21.1 -> 1.22.1

    winniequinn committed Apr 7, 2018
    Copy the full SHA
    374fde0 View commit details
  5. Copy the full SHA
    d807aa1 View commit details
  6. Copy the full SHA
    e675ae4 View commit details
  7. dcraw: 9.26.0 -> 9.27.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/dcraw/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 9.27.0 with grep in /nix/store/l6b0pk32npx23k5qpdi5n8zcfq9sahx4-dcraw-9.27.0
    - directory tree listing: https://gist.github.com/4c120255f84b102eb8cf19d2ee4bd491
    R. RyanTM committed Apr 7, 2018
    Copy the full SHA
    bdb945c View commit details
  8. Copy the full SHA
    eff7a19 View commit details
  9. enyo-doom: init at 1.05

    tadfisher committed Apr 7, 2018
    Copy the full SHA
    8f7750b View commit details
  10. psc-package v0.3.2-pre -> v0.3.2

    v0.3.2 is released
    Jonathan Curran committed Apr 7, 2018
    Copy the full SHA
    7a51017 View commit details
  11. nomacs: 3.6.1 -> 3.8.1

    Fixes a build issue introduced by a Qt5 upgrade [1], and lets us drop
    our installation-path patch.
    
    [1] nomacs/nomacs#203
    ahmedtd committed Apr 7, 2018
    Copy the full SHA
    642bd5f View commit details
  12. containerd: 1.0.2 -> 1.0.3

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/containerd/versions.
    
    These checks were done:
    
    - built on NixOS
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/containerd -h’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/containerd --help’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/containerd help’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/containerd-release -h’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/containerd-release --help’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/containerd-release help’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/containerd-stress -h’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/containerd-stress --help’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/containerd-stress help’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/ctr -h’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/ctr --help’ got 0 exit code
    - ran ‘/nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3/bin/ctr help’ got 0 exit code
    - found 1.0.3 with grep in /nix/store/qmgzfad2cazgv7j1k31pqs512b59b8hp-containerd-1.0.3
    - directory tree listing: https://gist.github.com/b830fb8c24834f83e627fd6d567eae87
    R. RyanTM committed Apr 7, 2018
    Copy the full SHA
    ed0146d View commit details

Commits on Apr 8, 2018

  1. cppcheck: 1.82 -> 1.83

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/cppcheck/versions.
    
    These checks were done:
    
    - built on NixOS
    - ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/naming.py -h’ got 0 exit code
    - ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/naming.py --help’ got 0 exit code
    - ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/naming.py help’ got 0 exit code
    - ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/y2038.py -h’ got 0 exit code
    - ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/y2038.py --help’ got 0 exit code
    - ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/y2038.py help’ got 0 exit code
    - ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/cppcheck -h’ got 0 exit code
    - ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/cppcheck --help’ got 0 exit code
    - ran ‘/nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83/bin/cppcheck --version’ and found version 1.83
    - found 1.83 with grep in /nix/store/y9shqxbgyq6g7v5vx76f69901yb8sj06-cppcheck-1.83
    - directory tree listing: https://gist.github.com/49acebba8d7d9e3af647133ae23bd1cb
    R. RyanTM committed Apr 8, 2018
    Copy the full SHA
    001275c View commit details
  2. confclerk: 0.6.1 -> 0.6.4

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/confclerk/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 0.6.4 with grep in /nix/store/r8p6g80aawh16ixw0f29k3y88z3gjwkh-confclerk-0.6.4
    - directory tree listing: https://gist.github.com/bc73c35c3cf2429de20668a18ae13885
    R. RyanTM committed Apr 8, 2018
    Copy the full SHA
    a427519 View commit details
  3. cmark: 0.27.1 -> 0.28.3

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/cmark/versions.
    
    These checks were done:
    
    - built on NixOS
    - ran ‘/nix/store/ws8c9r62c7wsas7kj1v0svfs57d53dvv-cmark-0.28.3/bin/cmark -h’ got 0 exit code
    - ran ‘/nix/store/ws8c9r62c7wsas7kj1v0svfs57d53dvv-cmark-0.28.3/bin/cmark --help’ got 0 exit code
    - found 0.28.3 with grep in /nix/store/ws8c9r62c7wsas7kj1v0svfs57d53dvv-cmark-0.28.3
    - directory tree listing: https://gist.github.com/890d356ed9766b2fca77baebee346a0e
    R. RyanTM committed Apr 8, 2018
    Copy the full SHA
    f406a04 View commit details
  4. clipgrab: 3.6.2 -> 3.6.8

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/clipgrab/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.6.8 with grep in /nix/store/1y989g5la7p05gizhmkbiq8k7c93yv27-clipgrab-3.6.8
    - directory tree listing: https://gist.github.com/b319063218d7e4f46c8b6dccf8c9b79a
    R. RyanTM committed Apr 8, 2018
    Copy the full SHA
    a536d80 View commit details
  5. ceres-solver: 1.12.0 -> 1.14.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/ceres-solver/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 1.14.0 with grep in /nix/store/mvj86dhnflivspnsg5j28bvvxs3cqxb2-ceres-solver-1.14.0
    - directory tree listing: https://gist.github.com/12d57ed67687bd3c67a7d582ae34e41d
    R. RyanTM committed Apr 8, 2018
    Copy the full SHA
    51dc7f3 View commit details
  6. sit: 0.1.3 -> 0.2.1

    yrashk committed Apr 8, 2018
    Copy the full SHA
    7a77ba4 View commit details
  7. openmvs-unstable: 2017-05-01 -> 2018-05-26

    fix build
    Mic92 committed Apr 8, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1e9e19b View commit details
  8. Merge pull request #38596 from r-ryantm/auto-update/ceres-solver

    ceres-solver: 1.12.0 -> 1.14.0
    Mic92 authored Apr 8, 2018
    Copy the full SHA
    5869f4d View commit details
  9. Merge pull request #38587 from r-ryantm/auto-update/clipgrab

    clipgrab: 3.6.2 -> 3.6.8
    Mic92 authored Apr 8, 2018
    Copy the full SHA
    0aeabd0 View commit details
  10. Merge pull request #38583 from r-ryantm/auto-update/cppcheck

    cppcheck: 1.82 -> 1.83
    Mic92 authored Apr 8, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    bcd04ee View commit details
  11. Merge pull request #38609 from yrashk/sit-0.2.1

    sit: 0.1.3 -> 0.2.1
    Mic92 authored Apr 8, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    66181e9 View commit details
  12. Merge pull request #38580 from r-ryantm/auto-update/containerd

    containerd: 1.0.2 -> 1.0.3
    Mic92 authored Apr 8, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    5d332cf View commit details
  13. Merge pull request #33688 from concatime/patch-1

    jetbrainsjdk: 1036.1 ~> 1136.20 (based on build #181.4203)
    Mic92 authored Apr 8, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    5484a90 View commit details
  14. Merge pull request #38576 from ahmedtd/nomacs-3.8.1

    nomacs: 3.6.1 -> 3.8.1
    Mic92 authored Apr 8, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    811ff3f View commit details
  15. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    babbf2a View commit details
  16. crip: init at 3.9

    endgame committed Apr 8, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e1f6778 View commit details
  17. Merge pull request #38579 from r-ryantm/auto-update/dcraw

    dcraw: 9.26.0 -> 9.27.0
    Mic92 authored Apr 8, 2018
    Copy the full SHA
    9165371 View commit details
  18. Merge pull request #38584 from r-ryantm/auto-update/confclerk

    confclerk: 0.6.1 -> 0.6.4
    Mic92 authored Apr 8, 2018
    Copy the full SHA
    f7a0e69 View commit details
  19. Merge pull request #38569 from samueldr/fix/callouts

    doc: Fixes in-text callouts and screen callouts.
    Mic92 authored Apr 8, 2018
    Copy the full SHA
    56ef92e View commit details
  20. Merge pull request #38568 from samueldr/fix/nixpkgs-rebase-callout

    doc: Fixes repeated callout in nixpkgs manual 15.1
    Mic92 authored Apr 8, 2018
    Copy the full SHA
    6366951 View commit details
  21. Merge pull request #38585 from r-ryantm/auto-update/cmark

    cmark: 0.27.1 -> 0.28.3
    Mic92 authored Apr 8, 2018
    Copy the full SHA
    8f5cd6e View commit details
  22. Merge pull request #38567 from winniequinn/vscode-1.22.1

    vscode: 1.21.1 -> 1.22.1
    Mic92 authored Apr 8, 2018
    Copy the full SHA
    e50c538 View commit details
  23. Copy the full SHA
    692e0b5 View commit details
  24. Merge pull request #38594 from endgame/crip

    crip: init at 3.9; perlPackages.CDDB_get: init at 2.28
    Mic92 authored Apr 8, 2018
    Copy the full SHA
    467886b View commit details
  25. Copy the full SHA
    2bddfb1 View commit details
  26. Copy the full SHA
    0215ae0 View commit details
Showing with 1,630 additions and 1,413 deletions.
  1. +2 −1 doc/overrides.css
  2. +1 −1 doc/reviewing-contributions.xml
  3. +1 −1 lib/default.nix
  4. +22 −1 lib/lists.nix
  5. +5 −0 maintainers/maintainer-list.nix
  6. +1 −0 nixos/modules/module-list.nix
  7. +18 −0 nixos/modules/programs/iftop.nix
  8. +1 −0 nixos/release.nix
  9. +30 −0 nixos/tests/iftop.nix
  10. +68 −0 pkgs/applications/audio/crip/default.nix
  11. +18 −18 pkgs/applications/editors/jetbrains/default.nix
  12. +4 −4 pkgs/applications/editors/vscode/default.nix
  13. +11 −9 pkgs/applications/gis/openorienteering-mapper/default.nix
  14. +2 −4 pkgs/applications/graphics/nomacs/default.nix
  15. +0 −13 pkgs/applications/graphics/nomacs/fix-appdata-install.patch
  16. +2 −2 pkgs/applications/misc/confclerk/default.nix
  17. +12 −6 pkgs/applications/misc/pcmanx-gtk2/default.nix
  18. +3 −1 pkgs/applications/misc/sigal/default.nix
  19. +1 −1 pkgs/applications/networking/browsers/firefox/wrapper.nix
  20. +2 −2 pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
  21. +2 −2 pkgs/applications/networking/mailreaders/inboxer/default.nix
  22. +3 −4 pkgs/applications/science/misc/openmvs/default.nix
  23. +23 −4 pkgs/applications/version-management/nbstripout/default.nix
  24. +3 −3 pkgs/applications/version-management/sit/default.nix
  25. +2 −2 pkgs/applications/video/clipgrab/default.nix
  26. +2 −2 pkgs/applications/virtualization/containerd/default.nix
  27. +2 −2 pkgs/data/fonts/nerdfonts/default.nix
  28. +2 −2 pkgs/development/compilers/jetbrains-jdk/default.nix
  29. +2 −2 pkgs/development/compilers/purescript/psc-package/default.nix
  30. +8 −8 pkgs/development/compilers/rust/bootstrap.nix
  31. +3 −3 pkgs/development/compilers/rust/default.nix
  32. +4 −4 pkgs/development/compilers/zulu/8.nix
  33. +2 −2 pkgs/development/libraries/ceres-solver/default.nix
  34. +2 −2 pkgs/development/libraries/cmark/default.nix
  35. +2 −0 pkgs/development/libraries/gtksourceview/3.x.nix
  36. +2 −2 pkgs/development/tools/analysis/cppcheck/default.nix
  37. +10 −3 pkgs/development/tools/ocaml/ocamlify/default.nix
  38. +2 −2 pkgs/development/web/insomnia/default.nix
  39. +27 −0 pkgs/games/enyo-doom/default.nix
  40. +2 −2 pkgs/games/openttd/default.nix
  41. +1,119 −1,138 pkgs/misc/vim-plugins/default.nix
  42. +103 −103 pkgs/misc/vim-plugins/vim-plugin-names
  43. +1 −0 pkgs/misc/vim-plugins/vim2nix/additional-nix-code/cpsm
  44. +0 −7 pkgs/misc/vim-plugins/vim2nix/additional-nix-code/matchit.zip
  45. +28 −26 pkgs/os-specific/linux/kernel/common-config.nix
  46. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  47. +2 −2 pkgs/os-specific/linux/kernel/linux-4.15.nix
  48. +2 −2 pkgs/os-specific/linux/kernel/linux-4.16.nix
  49. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  50. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  51. +2 −2 pkgs/os-specific/linux/kernel/linux-copperhead-hardened.nix
  52. +7 −5 pkgs/os-specific/linux/nvidia-x11/default.nix
  53. +19 −0 pkgs/os-specific/linux/nvidia-x11/fix_missing_symbol.patch
  54. +3 −1 pkgs/os-specific/linux/zfs/default.nix
  55. +2 −2 pkgs/tools/graphics/dcraw/default.nix
  56. +3 −3 pkgs/tools/networking/openssh/default.nix
  57. +4 −0 pkgs/top-level/all-packages.nix
  58. +15 −0 pkgs/top-level/perl-packages.nix
  59. +5 −1 pkgs/top-level/python-packages.nix
3 changes: 2 additions & 1 deletion doc/overrides.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

.docbook .xref img[src^=images\/callouts\/],
.screen img,
.programlisting img {
width: 1em;
}
2 changes: 1 addition & 1 deletion doc/reviewing-contributions.xml
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ $ git rebase --onto nixos-unstable BASEBRANCH FETCH_HEAD <co
<varname>BASEBRANCH</varname> the base branch of the
pull-request.</para>
</callout>
<callout arearefs='reviewing-rebase-3'>
<callout arearefs='reviewing-rebase-4'>
<para>Rebasing the pull-request changes to the nixos-unstable
branch.</para>
</callout>
2 changes: 1 addition & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ 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 compareLists take drop sublist
reverseList listDfs toposort sort naturalSort compareLists take drop sublist
last init crossLists unique intersectLists subtractLists
mutuallyExclusive;
inherit (strings) concatStrings concatMapStrings concatImapStrings
23 changes: 22 additions & 1 deletion lib/lists.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# General list operations.
{ lib }:
with lib.trivial;

let
inherit (lib.strings) toInt;
in
rec {

inherit (builtins) head tail length isList elemAt concatLists filter elem genList;
@@ -409,6 +411,25 @@ rec {
then compareLists cmp (tail a) (tail b)
else rel;

/* Sort list using "Natural sorting".
Numeric portions of strings are sorted in numeric order.
Example:
naturalSort ["disk11" "disk8" "disk100" "disk9"]
=> ["disk8" "disk9" "disk11" "disk100"]
naturalSort ["10.46.133.149" "10.5.16.62" "10.54.16.25"]
=> ["10.5.16.62" "10.46.133.149" "10.54.16.25"]
naturalSort ["v0.2" "v0.15" "v0.0.9"]
=> [ "v0.0.9" "v0.2" "v0.15" ]
*/
naturalSort = lst:
let
vectorise = s: map (x: if isList x then toInt (head x) else x) (builtins.split "(0|[1-9][0-9]*)" s);
prepared = map (x: [ (vectorise x) x ]) lst; # remember vectorised version for O(n) regex splits
less = a: b: (compareLists compare (head a) (head b)) < 0;
in
map (x: elemAt x 1) (sort less prepared);

/* Return the first (at most) N elements of a list.
Example:
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -1196,6 +1196,11 @@
github = "ElvishJerricco";
name = "Will Fancher";
};
endgame = {
email = "jack@jackkelly.name";
github = "endgame";
name = "Jack Kelly";
};
enzime = {
email = "enzime@users.noreply.github.com";
github = "enzime";
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -86,6 +86,7 @@
./programs/freetds.nix
./programs/gnupg.nix
./programs/gphoto2.nix
./programs/iftop.nix
./programs/java.nix
./programs/kbdlight.nix
./programs/less.nix
18 changes: 18 additions & 0 deletions nixos/modules/programs/iftop.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ config, pkgs, lib, ... }:

with lib;

let
cfg = config.programs.iftop;
in {
options = {
programs.iftop.enable = mkEnableOption "iftop + setcap wrapper";
};
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.iftop ];
security.wrappers.iftop = {
source = "${pkgs.iftop}/bin/iftop";
capabilities = "cap_net_raw+p";
};
};
}
1 change: 1 addition & 0 deletions nixos/release.nix
Original file line number Diff line number Diff line change
@@ -295,6 +295,7 @@ in rec {
tests.hound = callTest tests/hound.nix {};
tests.hocker-fetchdocker = callTest tests/hocker-fetchdocker {};
tests.i3wm = callTest tests/i3wm.nix {};
tests.iftop = callTest tests/iftop.nix {};
tests.initrd-network-ssh = callTest tests/initrd-network-ssh {};
tests.installer = callSubTests tests/installer.nix {};
tests.influxdb = callTest tests/influxdb.nix {};
30 changes: 30 additions & 0 deletions nixos/tests/iftop.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import ./make-test.nix ({ pkgs, lib, ... }:

with lib;

{
name = "iftop";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ ma27 ];

nodes = {
withIftop = {
imports = [ ./common/user-account.nix ];

programs.iftop.enable = true;
};
withoutIftop = {
imports = [ ./common/user-account.nix ];
};
};

testScript = ''
subtest "machine with iftop enabled", sub {
$withIftop->start;
$withIftop->succeed("su -l alice -c 'iftop -t -s 1'");
};
subtest "machine without iftop", sub {
$withoutIftop->start;
$withoutIftop->mustFail("su -l alice -c 'iftop -t -s 1'");
};
'';
})
68 changes: 68 additions & 0 deletions pkgs/applications/audio/crip/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{ stdenv
, fetchurl
, makeWrapper

, perl
, perlPackages

, cdparanoia
, coreutils
, eject
, flac
, gnugrep
, nano
, sox
, vorbis-tools
, vorbisgain
, which
}:

with stdenv.lib;

stdenv.mkDerivation rec {
name = "crip-3.9";
src = fetchurl {
url = "http://bach.dynet.com/crip/src/${name}.tar.gz";
sha256 = "0pk9152wll6fmkj1pki3fz3ijlf06jyk32v31yarwvdkwrk7s9xz";
};

buildInputs = [ perl perlPackages.CDDB_get ];
nativeBuildInputs = [ makeWrapper ];

toolDeps = makeBinPath [
cdparanoia
coreutils
eject
flac
gnugrep
sox
vorbis-tools
vorbisgain
which
];

scripts = [ "crip" "editcomment" "editfilenames" ];

installPhase = ''
mkdir -p $out/bin/
for script in ${escapeShellArgs scripts}; do
cp $script $out/bin/
substituteInPlace $out/bin/$script \
--replace '$editor = "vim";' '$editor = "${nano}/bin/nano";'
wrapProgram $out/bin/$script \
--set PERL5LIB "${makePerlPath [ perlPackages.CDDB_get ]}" \
--set PATH "${toolDeps}"
done
'';

meta = {
homepage = http://bach.dynet.com/crip/;
description = "Terminal-based ripper/encoder/tagger tool for creating Ogg Vorbis/FLAC files";
license = stdenv.lib.licenses.gpl1;
platforms = stdenv.lib.platforms.linux;
maintainers = [ maintainers.endgame ];
};
}
36 changes: 18 additions & 18 deletions pkgs/applications/editors/jetbrains/default.nix
Original file line number Diff line number Diff line change
@@ -104,9 +104,9 @@ let
}) (attrs: {
postFixup = (attrs.postFixup or "") + ''
interp="$(cat $NIX_CC/nix-support/dynamic-linker)"
patchelf --set-interpreter $interp $out/goland*/plugins/intellij-go-plugin/lib/dlv/linux/dlv
patchelf --set-interpreter $interp $out/goland*/plugins/go/lib/dlv/linux/dlv
chmod +x $out/goland*/plugins/intellij-go-plugin/lib/dlv/linux/dlv
chmod +x $out/goland*/plugins/go/lib/dlv/linux/dlv
'';
});

@@ -239,12 +239,12 @@ in

clion = buildClion rec {
name = "clion-${version}";
version = "2017.3.4"; /* updated by script */
version = "2018.1"; /* updated by script */
description = "C/C++ IDE. New. Intelligent. Cross-platform";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz";
sha256 = "1yxjvsp89mkk7gghbz5lqh7bbqi6l1ihg876c60bhqg0f5m98zcg"; /* updated by script */
sha256 = "1mwajah0qghkw2f4hap5f35x826h8318a0bjbn9lpknffgfi0zc3"; /* updated by script */
};
wmClass = "jetbrains-clion";
update-channel = "CLion_Release"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
@@ -265,77 +265,77 @@ in

goland = buildGoland rec {
name = "goland-${version}";
version = "2017.3.3"; /* updated by script */
version = "2018.1"; /* updated by script */
description = "Up and Coming Go IDE";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/go/${name}.tar.gz";
sha256 = "073wwhg58hkd8w4jazvwngl78gbhnmilm63jhpirr98jk7i7a4mq"; /* updated by script */
sha256 = "0r008q3dn30zbn9zzyjj6pz3myxrb9i1s96kinj9vy0cj7gb0aai"; /* updated by script */
};
wmClass = "jetbrains-goland";
update-channel = "goland_release";
};

idea-community = buildIdea rec {
name = "idea-community-${version}";
version = "2017.3.5"; /* updated by script */
version = "2018.1"; /* updated by script */
description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
license = stdenv.lib.licenses.asl20;
src = fetchurl {
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
sha256 = "124rzc46f4bqyhllwyb26lkavh7zwbj62axrwhif34rayl2rcmpm"; /* updated by script */
sha256 = "08dlyf2zfgcbbbnadx5x0n877diyglg9h7h39njcw4ajh4aninyq"; /* updated by script */
};
wmClass = "jetbrains-idea-ce";
update-channel = "IDEA_Release";
};

idea-ultimate = buildIdea rec {
name = "idea-ultimate-${version}";
version = "2017.3.5"; /* updated by script */
version = "2018.1"; /* updated by script */
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jdk.tar.gz";
sha256 = "10r3z37mhr8daxi14k011bhx3pxpx3lsj7jvikwll4wjlv1znhiw"; /* updated by script */
sha256 = "1483w692n29v22f5vchh8fbizwn74wlznd5pvlscxs4ly9af7935"; /* updated by script */
};
wmClass = "jetbrains-idea";
update-channel = "IDEA_Release";
};

phpstorm = buildPhpStorm rec {
name = "phpstorm-${version}";
version = "2017.3.5"; /* updated by script */
version = "2017.3.6"; /* updated by script */
description = "Professional IDE for Web and PHP developers";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
sha256 = "1mcq8n7rd074aghmiyqf1yg3qvs28w97kk4dygj2a46y3s1ha4cd"; /* updated by script */
sha256 = "00g86fggh8wfm02k9wwn33yqmbfr2b1x3vnvyn9gdpycdk46lqgw"; /* updated by script */
};
wmClass = "jetbrains-phpstorm";
update-channel = "PS2017.3";
};

pycharm-community = buildPycharm rec {
name = "pycharm-community-${version}";
version = "2017.3.4"; /* updated by script */
version = "2018.1"; /* updated by script */
description = "PyCharm Community Edition";
license = stdenv.lib.licenses.asl20;
src = fetchurl {
url = "https://download.jetbrains.com/python/${name}.tar.gz";
sha256 = "027w73qrrj7aml2kdj3sx890q7jyj2jfnsg0pivi7i4kh8i11204"; /* updated by script */
sha256 = "0f3chibs7lp3kgkd0ah6d7z1lf3n4scalmadpxcn0fd6bap5mnjb"; /* updated by script */
};
wmClass = "jetbrains-pycharm-ce";
update-channel = "PyCharm_Release";
};

pycharm-professional = buildPycharm rec {
name = "pycharm-professional-${version}";
version = "2017.3.4"; /* updated by script */
version = "2018.1"; /* updated by script */
description = "PyCharm Professional Edition";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/python/${name}.tar.gz";
sha256 = "0040ryx7kj64vwc10gvns43f1c97dvrgnwlmdm1m1506ldvaw0si"; /* updated by script */
sha256 = "0lq5bqnfxj02sbd4yaf3ma6nps7cnf0d11dzqjv9m6b41y55dp0k"; /* updated by script */
};
wmClass = "jetbrains-pycharm";
update-channel = "PyCharm_Release";
@@ -369,12 +369,12 @@ in

webstorm = buildWebStorm rec {
name = "webstorm-${version}";
version = "2017.3.5"; /* updated by script */
version = "2018.1"; /* updated by script */
description = "Professional IDE for Web and JavaScript development";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz";
sha256 = "123v4m8p7acndj8p8frn1bjvycijlx904pa84ka9pv18c90qiym9"; /* updated by script */
sha256 = "1lx852gycrzajh58k1r2wfpwwjna6y3fsd5srw5fgzw58f120vn4"; /* updated by script */
};
wmClass = "jetbrains-webstorm";
update-channel = "WS_Release";
8 changes: 4 additions & 4 deletions pkgs/applications/editors/vscode/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
makeWrapper, libXScrnSaver, libxkbfile, libsecret }:

let
version = "1.21.1";
version = "1.22.1";
channel = "stable";

plat = {
@@ -12,9 +12,9 @@ let
}.${stdenv.system};

sha256 = {
"i686-linux" = "0c5wh6i4yl601hg0r1c8y25lz7j2p4vhisdnvnx9nzd6v4ib27cj";
"x86_64-linux" = "19i0wkl0qccq2cm10khy0xxb53a6g2m061g71y54s4cxb4wimc9l";
"x86_64-darwin" = "0d1ws4c3n80gypiarqbylyipg273ssc0m29jnrg7hx1mcy5ljb1i";
"i686-linux" = "1w1ywf21vcwmfq5ngag1y076nxbdqg3qav90ilxgd3dkv5j6fkjr";
"x86_64-linux" = "14phpsrkkv09dgr7phqhgjzfhm3zzbh3w2yhyng0cj3vwzysikcs";
"x86_64-darwin" = "0fqsr4ramanl7v1damf01zkmg75s9nlfkj6298h9sjvhc93pfcll";
}.${stdenv.system};

archive_fmt = if stdenv.system == "x86_64-darwin" then "zip" else "tar.gz";
Loading