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: cca57171707e
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: f412e19996f0
Choose a head ref

Commits on Aug 24, 2018

  1. clipgrab: 3.6.8 -> 3.6.9

    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.
    R. RyanTM committed Aug 24, 2018
    Copy the full SHA
    a66cd66 View commit details
  2. charybdis: 4.1 -> 4.1.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/charybdis/versions.
    R. RyanTM committed Aug 24, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vbgl Vincent Laporte
    Copy the full SHA
    e56f668 View commit details
  3. maven: 3.5.3 -> 3.5.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/apache-maven/versions.
    R. RyanTM committed Aug 24, 2018

    Verified

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

Commits on Aug 25, 2018

  1. iwd: 0.4 -> 0.7

    dywedir committed Aug 25, 2018
    Copy the full SHA
    d73fd69 View commit details

Commits on Aug 26, 2018

  1. mixxx: 2.0.0 -> 2.1.3

    bfortz committed Aug 26, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vbgl Vincent Laporte
    Copy the full SHA
    d41409c View commit details
  2. nano-wallet: 14.2 -> 15.2

    jluttine committed Aug 26, 2018
    Copy the full SHA
    d4c25d4 View commit details
  3. Merge pull request #45646 from bfortz/mixxx

    mixxx: 2.0.0 -> 2.1.3
    Mic92 authored Aug 26, 2018
    Copy the full SHA
    c7c04bb View commit details
  4. Merge pull request #44890 from dywedir/iwd

    iwd: 0.4 -> 0.7
    Mic92 authored Aug 26, 2018
    Copy the full SHA
    a78b364 View commit details
  5. Copy the full SHA
    ff583d8 View commit details
  6. Copy the full SHA
    0e4160a View commit details
  7. Merge pull request #45615 from r-ryantm/auto-update/apache-maven

    maven: 3.5.3 -> 3.5.4
    timokau authored Aug 26, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    infinisil Silvan Mosberger
    Copy the full SHA
    83aebe1 View commit details
  8. Merge pull request #45606 from r-ryantm/auto-update/charybdis

    charybdis: 4.1 -> 4.1.1
    timokau authored Aug 26, 2018
    Copy the full SHA
    83bb076 View commit details
  9. Merge pull request #45603 from r-ryantm/auto-update/clipgrab

    clipgrab: 3.6.8 -> 3.6.9
    timokau authored Aug 26, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    sifmelcara Ming-Chuan
    Copy the full SHA
    0c2a50e View commit details
  10. Merge pull request #45656 from timokau/sympy-1.2

    pythonPackages.sympy: 1.1.1 -> 1.2
    FRidh authored Aug 26, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    b2da2df View commit details
  11. hunspell-hs: fix build

    Using pkgconfig like jtojnar suggested.
    
    Disables tests as some necessary data files
    aren't included on hackage.
    typetetris committed Aug 26, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5d91e0f View commit details
  12. Merge pull request #45651 from jluttine/update-nano-wallet-15.2

    nano-wallet: 14.2 -> 15.2
    timokau authored Aug 26, 2018

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    3f002f1 View commit details
  13. Merge pull request #45633 from typetetris/hunspell-hs-fix

    hunspell-hs: fix build
    basvandijk authored Aug 26, 2018
    Copy the full SHA
    7f3f9ff View commit details
  14. calibre: 3.29.0 -> 3.30.0

    pSub committed Aug 26, 2018
    Copy the full SHA
    9dedda1 View commit details
  15. dex: 0.7 -> 0.8.0 (#45639)

    Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
    kyrias authored and xeji committed Aug 26, 2018
    Copy the full SHA
    9e44b46 View commit details
  16. WIP Elm 0.19

    domenkozar committed Aug 26, 2018
    Copy the full SHA
    db11c83 View commit details
  17. elm: 0.18 -> 0.19

    update makeElmStuff to makeDotElm, create elm-elm.nix listing the elm
    code that elm itself embeds, and pre-fetch it so that the elm build
    can function offline.  also include a versions.dat file, as created
    during an impure build of elm.  set ELM_HOME so that the elm build can
    find these things.
    
    continues #45448
    
    (cherry picked from commit e7d0df84676d51fb0cbfbeb10dd32153489c3565)
    Signed-off-by: Domen Kožar <domen@dev.si>
    jerith666 authored and domenkozar committed Aug 26, 2018

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    9f9e9d6 View commit details
  18. Verified

    This commit was signed with the committer’s verified signature.
    kevincox Kevin Cox
    Copy the full SHA
    7c542d0 View commit details
  19. Copy the full SHA
    82f11ba View commit details
  20. Copy the full SHA
    fc11905 View commit details
  21. elm: add instructions for versions.dat and elm-elm.nix

    (cherry picked from commit fcabcb2e41a89b2249d24e68355866979e961f8a)
    Signed-off-by: Domen Kožar <domen@dev.si>
    jerith666 authored and domenkozar committed Aug 26, 2018
    Copy the full SHA
    aa8bdaf View commit details
  22. udunits: 2.2.26 -> 2.2.27.6 (#45660)

    pSub authored and xeji committed Aug 26, 2018
    Copy the full SHA
    c2c1315 View commit details

Commits on Aug 27, 2018

  1. Copy the full SHA
    f412e19 View commit details
Showing with 363 additions and 421 deletions.
  1. +1 −8 nixos/modules/services/networking/iwd.nix
  2. +2 −2 pkgs/applications/altcoins/nano-wallet/default.nix
  3. +10 −20 pkgs/applications/audio/mixxx/default.nix
  4. +2 −2 pkgs/applications/misc/calibre/default.nix
  5. +7 −0 pkgs/applications/science/math/sage/sage-src.nix
  6. +2 −2 pkgs/applications/video/clipgrab/default.nix
  7. +90 −67 pkgs/development/compilers/elm/default.nix
  8. +0 −41 pkgs/development/compilers/elm/packages/elm-compiler.nix
  9. +50 −0 pkgs/development/compilers/elm/packages/elm-elm.nix
  10. +6 −13 pkgs/development/compilers/elm/packages/elm-format.nix
  11. +0 −24 pkgs/development/compilers/elm/packages/elm-interface-to-json.nix
  12. +0 −26 pkgs/development/compilers/elm/packages/elm-make.nix
  13. +0 −39 pkgs/development/compilers/elm/packages/elm-package.nix
  14. +0 −22 pkgs/development/compilers/elm/packages/elm-reactor-elm.nix
  15. +0 −28 pkgs/development/compilers/elm/packages/elm-reactor.nix
  16. +0 −30 pkgs/development/compilers/elm/packages/elm-repl.nix
  17. +30 −0 pkgs/development/compilers/elm/packages/elm.nix
  18. +11 −0 pkgs/development/compilers/elm/packages/indents.nix
  19. +0 −13 pkgs/development/compilers/elm/packages/release.nix
  20. +0 −28 pkgs/development/compilers/elm/update-elm.rb
  21. +3 −0 pkgs/development/compilers/elm/update.sh
  22. BIN pkgs/development/compilers/elm/versions.dat
  23. +3 −0 pkgs/development/haskell-modules/configuration-common.nix
  24. +4 −5 pkgs/development/haskell-modules/generic-builder.nix
  25. +30 −0 pkgs/development/haskell-modules/patches/hunspell.patch
  26. +20 −16 pkgs/development/libraries/udunits/default.nix
  27. +9 −17 pkgs/development/python-modules/sympy/default.nix
  28. +2 −2 pkgs/development/tools/build-managers/apache-maven/default.nix
  29. +56 −0 pkgs/games/endgame-singularity/default.nix
  30. +13 −7 pkgs/os-specific/linux/iwd/default.nix
  31. +1 −1 pkgs/os-specific/linux/kernel/common-config.nix
  32. +4 −4 pkgs/os-specific/linux/kernel/linux-testing.nix
  33. +2 −2 pkgs/servers/irc/charybdis/default.nix
  34. +3 −2 pkgs/tools/X11/dex/default.nix
  35. +2 −0 pkgs/top-level/all-packages.nix
9 changes: 1 addition & 8 deletions nixos/modules/services/networking/iwd.nix
Original file line number Diff line number Diff line change
@@ -20,14 +20,7 @@ in {

services.dbus.packages = [ pkgs.iwd ];

systemd.services.iwd = {
description = "Wireless daemon";
before = [ "network.target" ];
wants = [ "network.target" ];
wantedBy = [ "multi-user.target" ];

serviceConfig.ExecStart = "${pkgs.iwd}/libexec/iwd";
};
systemd.packages = [ pkgs.iwd ];

systemd.tmpfiles.rules = [
"d /var/lib/iwd 0700 root root -"
4 changes: 2 additions & 2 deletions pkgs/applications/altcoins/nano-wallet/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {

name = "nano-wallet-${version}";
version = "14.2";
version = "15.2";

src = fetchFromGitHub {
owner = "nanocurrency";
repo = "raiblocks";
rev = "V${version}";
sha256 = "0jbv5a8sz403a1pqcgl32idk6y0z510h7ikjg1dcxla0rsch6ipl";
sha256 = "0ngsnaczw5y709zk52flp6m2c83q3kxfgz0bzi8rzfjxp10ncnz3";
fetchSubmodules = true;
};

30 changes: 10 additions & 20 deletions pkgs/applications/audio/mixxx/default.nix
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
{ stdenv, fetchurl, chromaprint, fetchpatch, fftw, flac, faad2, mp4v2
{ stdenv, fetchFromGitHub, chromaprint, fetchpatch, fftw, flac, faad2, mp4v2
, libid3tag, libmad, libopus, libshout, libsndfile, libusb1, libvorbis
, pkgconfig, portaudio, portmidi, protobuf, qt4, rubberband, scons, sqlite
, taglib, vampSDK
, taglib, upower, vampSDK
}:

stdenv.mkDerivation rec {
name = "mixxx-${version}";
version = "2.0.0";
version = "2.1.3";

src = fetchurl {
url = "https://downloads.mixxx.org/${name}/${name}-src.tar.gz";
sha256 = "0vb71w1yq0xwwsclrn2jj9bk8w4n14rfv5c0aw46c11mp8xz7f71";
src = fetchFromGitHub {
owner = "mixxxdj";
repo = "mixxx";
rev = "release-${version}";
sha256 = "1fm8lkbnxka4haidf6yr8mb3r6vaxmc97hhrp8pcx0fvq2mnzvy2";
};

patches = [
(fetchpatch {
url = "https://sources.debian.net/data/main/m/mixxx/2.0.0~dfsg-7.1/debian/patches/0007-fix_gcc6_issue.patch";
sha256 = "0kpyv10wcjcvbijk6vpq54gx9sqzrq4kq2qilc1czmisp9qdy5sd";
})
(fetchpatch {
url = "https://622776.bugs.gentoo.org/attachment.cgi?id=487284";
name = "sqlite.patch";
sha256 = "1qqbd8nrxrjcc1dwvyqfq1k2yz3l071sfcgd2dmpk6j8d4j5kx31";
})
];

buildInputs = [
chromaprint fftw flac faad2 mp4v2 libid3tag libmad libopus libshout libsndfile
libusb1 libvorbis pkgconfig portaudio portmidi protobuf qt4
rubberband scons sqlite taglib vampSDK
rubberband scons sqlite taglib upower vampSDK
];

sconsFlags = [
@@ -56,7 +46,7 @@ stdenv.mkDerivation rec {
homepage = https://mixxx.org;
description = "Digital DJ mixing software";
license = licenses.gpl2Plus;
maintainers = [ maintainers.aszlig maintainers.goibhniu ];
maintainers = [ maintainers.aszlig maintainers.goibhniu maintainers.bfortz ];
platforms = platforms.linux;
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
@@ -5,12 +5,12 @@
}:

stdenv.mkDerivation rec {
version = "3.29.0";
version = "3.30.0";
name = "calibre-${version}";

src = fetchurl {
url = "https://download.calibre-ebook.com/${version}/${name}.tar.xz";
sha256 = "1r29vi8j51r0nnzpjbg34ryvizzkn31sq1iz7z748wjfgr87wmyh";
sha256 = "0j7w63kniqnpr8v1aldzbim2dyrk79n23mzw9y56jqd0k47m8zfz";
};

patches = [
7 changes: 7 additions & 0 deletions pkgs/applications/science/math/sage/sage-src.nix
Original file line number Diff line number Diff line change
@@ -136,6 +136,13 @@ stdenv.mkDerivation rec {
url = "https://git.sagemath.org/sage.git/patch?id2=8.4.beta0&id=8bef4fd2876a61969b516fe4eb3b8ad7cc076c5e";
sha256 = "00p3hfsfn3w2vxgd9fjd23mz7xfxjfravf8ysjxkyd657jbkpjmk";
})

# https://trac.sagemath.org/ticket/26117
(fetchpatch {
name = "sympy-1.2.patch";
url = "https://git.sagemath.org/sage.git/patch?id2=8.4.beta2&id=d94a0a3a3fb4aec05a6f4d95166d90c284f05c36";
sha256 = "0an2xl1pp3jg36kgg2m1vb7sns7rprk1h3d0qy1gxwdab6i7qnvi";
})
];

patches = nixPatches ++ packageUpgradePatches ++ [
4 changes: 2 additions & 2 deletions pkgs/applications/video/clipgrab/default.nix
Original file line number Diff line number Diff line change
@@ -2,10 +2,10 @@

stdenv.mkDerivation rec {
name = "clipgrab-${version}";
version = "3.6.8";
version = "3.6.9";

src = fetchurl {
sha256 = "0agp97g79mlqcwfz2xk5rdxw4kx0hm92xikdspbpxlfji1mkh10p";
sha256 = "16r0h286vqw1bns29sx5x2919pj3y8gxf1k7dpf9xrz0vm2zrc3v";
# The .tar.bz2 "Download" link is a binary blob, the source is the .tar.gz!
url = "https://download.clipgrab.org/${name}.tar.gz";
};
157 changes: 90 additions & 67 deletions pkgs/development/compilers/elm/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,56 @@
{ lib, stdenv, buildEnv, haskell, nodejs, fetchurl, makeWrapper }:
{ lib, stdenv, buildEnv, haskell, nodejs, fetchurl, makeWrapper, git }:

# To update:
# 1) Update versions in ./update-elm.rb and run it.
# 2) Checkout elm-reactor and run `elm-package install -y` inside.
# 3) Run ./elm2nix.rb in elm-reactor's directory.
# 4) Move the resulting 'package.nix' to 'packages/elm-reactor-elm.nix'.

# 1) Modify ./update.sh and run it

# 2) to generate versions.dat:
# 2.1) git clone https://github.com/elm/compiler.git
# 2.2) cd compiler
# 2.3) cabal2nix --shell . | sed 's/"default",/"ghc822",/' > shell.nix
# 2.4) nix-shell
# 2.5) mkdir .elm
# 2.6) export ELM_HOME=$(pwd)/.elm
# 2.7) cabal build
# 2.8) cp .elm/0.19.0/package/versions.dat ...

# 3) generate a template for elm-elm.nix with:
# (
# echo "{";
# jq '.dependencies | .direct, .indirect | to_entries | .[] | { (.key) : { version : .value, sha256: "" } } ' \
# < ui/browser/elm.json \
# | sed 's/:/ =/' \
# | sed 's/^[{}]//' \
# | sed -E 's/(["}]),?$/\1;/' \
# | sed -E 's/"(version|sha256)"/\1/' \
# | grep -v '^$';
# echo "}"
# )
#
# ... then fill in the sha256s

# Notes:

# the elm binary embeds a piece of pre-compiled elm code, used by 'elm
# reactor'. this means that the build process for 'elm' effectively
# executes 'elm make'. that in turn expects to retrieve the elm
# dependencies of that code (elm/core, etc.) from
# package.elm-lang.org, as well as a cached bit of metadata
# (versions.dat).

# the makeDotElm function lets us retrieve these dependencies in the
# standard nix way. we have to copy them in (rather than symlink) and
# make them writable because the elm compiler writes other .dat files
# alongside the source code. versions.dat was produced during an
# impure build of this same code; the build complains that it can't
# update this cache, but continues past that warning.

# finally, we set ELM_HOME to point to these pre-fetched artifacts so
# that the default of ~/.elm isn't used.

let
makeElmStuff = deps:
let json = builtins.toJSON (lib.mapAttrs (name: info: info.version) deps);
makeDotElm = ver: deps:
let versionsDat = ./versions.dat;
cmds = lib.mapAttrsToList (name: info: let
pkg = stdenv.mkDerivation {

@@ -29,80 +71,61 @@ let

};
in ''
mkdir -p elm-stuff/packages/${name}
ln -s ${pkg} elm-stuff/packages/${name}/${info.version}
mkdir -p .elm/${ver}/package/${name}
cp -R ${pkg} .elm/${ver}/package/${name}/${info.version}
'') deps;
in ''
export HOME=/tmp
mkdir elm-stuff
cat > elm-stuff/exact-dependencies.json <<EOF
${json}
EOF
'' + lib.concatStrings cmds;

hsPkgs = haskell.packages.ghc802.override {
overrides = self: super:
let hlib = haskell.lib;
elmRelease = import ./packages/release.nix { inherit (self) callPackage; };
elmPkgs' = elmRelease.packages;
elmPkgs = elmPkgs' // {

elm-reactor = hlib.overrideCabal elmPkgs'.elm-reactor (drv: {
buildTools = drv.buildTools or [] ++ [ self.elm-make ];
preConfigure = makeElmStuff (import ./packages/elm-reactor-elm.nix);
});
in (lib.concatStrings cmds) + ''
mkdir -p .elm/${ver}/package;
cp ${versionsDat} .elm/${ver}/package/versions.dat;
chmod -R +w .elm
'';

elm-repl = hlib.overrideCabal elmPkgs'.elm-repl (drv: {
doCheck = false;
hsPkgs = haskell.packages.ghc822.override {
overrides = self: super: with haskell.lib;
let elmPkgs = {
elm = overrideCabal (self.callPackage ./packages/elm.nix { }) (drv: {
# sadly with parallelism most of the time breaks compilation
enableParallelBuilding = false;
preConfigure = ''
export ELM_HOME=`pwd`/.elm
'' + (makeDotElm "0.19.0" (import ./packages/elm-elm.nix));
buildTools = drv.buildTools or [] ++ [ makeWrapper ];
postInstall =
let bins = lib.makeBinPath [ nodejs self.elm-make ];
in ''
wrapProgram $out/bin/elm-repl \
--prefix PATH ':' ${bins}
'';
postInstall = ''
wrapProgram $out/bin/elm \
--prefix PATH ':' ${lib.makeBinPath [ nodejs ]}
'';
});



/*
This is not a core Elm package, and it's hosted on GitHub.
To update, run:
cabal2nix --jailbreak --revision refs/tags/foo http://github.com/avh4/elm-format > packages/elm-format.nix
where foo is a tag for a new version, for example "0.3.1-alpha".
where foo is a tag for a new version, for example "0.8.0".
*/
elm-format = self.callPackage ./packages/elm-format.nix { };
elm-interface-to-json = self.callPackage ./packages/elm-interface-to-json.nix {
aeson-pretty = self.aeson-pretty_0_7_2;
either = hlib.overrideCabal self.either (drv :{
jailbreak = true;
version = "4.4.1.1";
sha256 = "1lrlwqqnm6ibfcydlv5qvvssw7bm0c6yypy0rayjzv1znq7wp1xh";
libraryHaskellDepends = drv.libraryHaskellDepends or [] ++ [
self.exceptions self.free self.mmorph self.monad-control
self.MonadRandom self.profunctors self.transformers
self.transformers-base
];
});
};
elm-format = overrideCabal (self.callPackage ./packages/elm-format.nix { }) (drv: {
# https://github.com/avh4/elm-format/issues/529
patchPhase = ''
cat >Setup.hs <<EOF
import Distribution.Simple
main = defaultMain
EOF
sed -i '/Build_elm_format/d' elm-format.cabal
sed -i 's/Build_elm_format.gitDescribe/""/' src/ElmFormat/Version.hs
sed -i '/Build_elm_format/d' src/ElmFormat/Version.hs
'';
});
};
in elmPkgs // {
inherit elmPkgs;
elmVersion = elmRelease.version;
# https://github.com/elm-lang/elm-compiler/issues/1566
indents = hlib.overrideCabal super.indents (drv: {
version = "0.3.3";
#test dep tasty has a version mismatch
doCheck = false;
sha256 = "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn";
libraryHaskellDepends = drv.libraryHaskellDepends ++ [super.concatenative];
});
elmVersion = elmPkgs.elm.version;

# Needed for elm-format
indents = self.callPackage ./packages/indents.nix {};
};
};
in hsPkgs.elmPkgs // {
elm = lib.hiPrio (buildEnv {
name = "elm-${hsPkgs.elmVersion}";
paths = lib.mapAttrsToList (name: pkg: pkg) hsPkgs.elmPkgs;
pathsToLink = [ "/bin" ];
});
}
in hsPkgs.elmPkgs
41 changes: 0 additions & 41 deletions pkgs/development/compilers/elm/packages/elm-compiler.nix

This file was deleted.

Loading