git.iko.soy/typeable/nixpkgs
on master help sign in
Merge branch 'master' into staging
commit2ce45fbf0d491209758faf57522568e91ff88874 authorVladimír Čunát <vcunat@gmail.com> dateSat 11 Feb 2017, 12:11 (10 years ago) parent4927aa0686d3fb
13 files changed+64−33
nixos/modules/installer/cd-dvd/sd-image-aarch64.nix+1−3 nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix+1−3 nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix+1−3 pkgs/applications/networking/cluster/terragrunt/default.nix+2−2 pkgs/applications/networking/cluster/terragrunt/deps.nix+4−4 pkgs/applications/networking/syncthing/inotify-deps.nix+3−2 pkgs/applications/networking/syncthing/inotify.nix+5−5 pkgs/build-support/setup-hooks/update-autotools-gnu-config-scripts.sh+1−1 pkgs/development/libraries/glew/default.nix+3−3 pkgs/development/libraries/libxml2/default.nix+9−4 pkgs/os-specific/linux/ati-drivers/default.nix+4−1 pkgs/os-specific/linux/ati-drivers/patches/4.9-get_user_pages.patch+28 pkgs/tools/misc/hakuneko/default.nix+2−2
nixos/modules/installer/cd-dvd/sd-image-aarch64.nix+1−3
@@ -52,9 +52,7 @@ in
5252 enable_uart=1
5353 '';
5454 in ''
55− for f in bootcode.bin fixup.dat start.elf; do
56− cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/$f boot/
57− done
55+ (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
5856 cp ${patchedUboot}/u-boot.bin boot/u-boot-rpi3.bin
5957 cp ${configTxt} boot/config.txt
6058 ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix+1−3
@@ -44,9 +44,7 @@ in
4444 enable_uart=1
4545 '';
4646 in ''
47− for f in bootcode.bin fixup.dat start.elf; do
48− cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/$f boot/
49− done
47+ (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
5048 cp ${pkgs.ubootRaspberryPi2}/u-boot.bin boot/u-boot-rpi2.bin
5149 cp ${pkgs.ubootRaspberryPi3_32bit}/u-boot.bin boot/u-boot-rpi3.bin
5250 cp ${configTxt} boot/config.txt
nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix+1−3
@@ -34,9 +34,7 @@ in
3434
3535 sdImage = {
3636 populateBootCommands = ''
37− for f in bootcode.bin fixup.dat start.elf; do
38− cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/$f boot/
39− done
37+ (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
4038 cp ${pkgs.ubootRaspberryPi}/u-boot.bin boot/u-boot-rpi.bin
4139 echo 'kernel u-boot-rpi.bin' > boot/config.txt
4240 ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
pkgs/applications/networking/cluster/terragrunt/default.nix+2−2
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "terragrunt-${version}";
5− version = "0.9.9";
5+ version = "0.10.0";
66
77 goPackagePath = "github.com/gruntwork-io/terragrunt";
88
@@ -10,7 +10,7 @@ buildGoPackage rec {
1010 rev = "v${version}";
1111 owner = "gruntwork-io";
1212 repo = "terragrunt";
13− sha256 = "08rygmcjlcdj4g575cpx2lfdq69r450ri5q2dngvnhbvzk8nvnr0";
13+ sha256 = "1cdhl7rqd2jslvp1ia1gph1lg0sjzsnvj7dj6lg85jfdcffafygj";
1414 };
1515
1616 goDeps = ./deps.nix;
pkgs/applications/networking/cluster/terragrunt/deps.nix+4−4
@@ -5,8 +5,8 @@
55 fetch = {
66 type = "git";
77 url = "https://github.com/aws/aws-sdk-go";
8− rev = "4590e9b51cd6698144a025a75608fa7a90752d5d";
9− sha256 = "13hczsimaanfmbhj8aki8zib7fi161f7p7cjm7z9x8hwwa9q4nld";
8+ rev = "63102d196e0996a2910839857c3584f62be907cc";
9+ sha256 = "0n207g4bf5fjq23f63nkhh14shj7kjdrr4qn6h28d7x2vqfb9pss";
1010 };
1111 }
1212 {
@@ -32,8 +32,8 @@
3232 fetch = {
3333 type = "git";
3434 url = "https://github.com/hashicorp/go-getter";
35− rev = "cc80f38c726badeae53775d179755e1c4953d6cf";
36− sha256 = "1xbflbgg3gfh3zy5ibfzxv4gbzg62rkzr4l2i9igvz8m7sxgyy1f";
35+ rev = "c3d66e76678dce180a7b452653472f949aedfbcd";
36+ sha256 = "0ykpkiszcwp3hnvnnyl95zdrsziwrzr989ynyvbfkgpnkqfdhfy7";
3737 };
3838 }
3939 {
pkgs/applications/networking/syncthing/inotify-deps.nix+3−2
@@ -1,3 +1,4 @@
1+# This file was generated by go2nix.
12[
23 {
34 goPackagePath = "github.com/cenkalti/backoff";
@@ -13,8 +14,8 @@
1314 fetch = {
1415 type = "git";
1516 url = "https://github.com/syncthing/syncthing";
16− rev = "7fba8cf759a3b48cfc1507a8c32355865500a571";
17− sha256 = "1s8l528fqq661ks70cna5cx1bawpv7szcx88z33bs4gkaq2fbws5";
17+ rev = "fb6d453c74d8420af847460e42e05779e90311b6";
18+ sha256 = "18fya44i80ij5wqpwg0bff2hp058rh87b9zld2rpw0z8r04bnsv0";
1819 };
1920 }
2021 {
pkgs/applications/networking/syncthing/inotify.nix+5−5
@@ -2,15 +2,15 @@
22
33buildGoPackage rec {
44 name = "syncthing-inotify-${version}";
5− version = "0.8.4";
5+ version = "0.8.5";
66
77 goPackagePath = "github.com/syncthing/syncthing-inotify";
88
99 src = fetchFromGitHub {
10− owner = "syncthing";
11− repo = "syncthing-inotify";
12− rev = "v${version}";
13− sha256 = "0iix4gd5zh2ydn429jmcf0pr1pxxd1wq1vp5ciq9bavhvnim9clw";
10+ owner = "syncthing";
11+ repo = "syncthing-inotify";
12+ rev = "v${version}";
13+ sha256 = "13qfppwlqrx3fs44ghnffdp9x0hs7mn1gal2316p7jb0klkcpfzh";
1414 };
1515
1616 goDeps = ./inotify-deps.nix;
pkgs/build-support/setup-hooks/update-autotools-gnu-config-scripts.sh+1−1
@@ -4,7 +4,7 @@ updateAutotoolsGnuConfigScriptsPhase() {
44 if [ -n "$dontUpdateAutotoolsGnuConfigScripts" ]; then return; fi
55
66 for script in config.sub config.guess; do
7− for f in $(find . -name "$script"); do
7+ for f in $(find . -type f -name "$script"); do
88 echo "Updating Autotools / GNU config script to a newer upstream version: $f"
99 cp -f "@gnu_config@/$script" "$f"
1010 done
pkgs/development/libraries/glew/default.nix+3−3
@@ -3,11 +3,11 @@
33with stdenv.lib;
44
55stdenv.mkDerivation rec {
6− name = "glew-1.13.0";
6+ name = "glew-2.0.0";
77
88 src = fetchurl {
99 url = "mirror://sourceforge/glew/${name}.tgz";
10− sha256 = "1iwb2a6wfhkzv6fa7zx2gz1lkwa0iwnd9ka1im5vdc44xm4dq9da";
10+ sha256 = "0r37fg2s1f0jrvwh6c8cz5x6v4wqmhq42qm15cs9qs349q5c6wn5";
1111 };
1212
1313 outputs = [ "bin" "out" "dev" "doc" ];
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 mkdir -pv $out/share/doc/glew
3434 mkdir -p $out/lib/pkgconfig
3535 cp glew*.pc $out/lib/pkgconfig
36− cp -r README.txt LICENSE.txt doc $out/share/doc/glew
36+ cp -r README.md LICENSE.txt doc $out/share/doc/glew
3737 rm $out/lib/*.a
3838 '';
3939
pkgs/development/libraries/libxml2/default.nix+9−4
@@ -1,8 +1,11 @@
1−{ stdenv, lib, fetchurl, zlib, xz, python2, findXMLCatalogs, libiconv, fetchpatch
2−, pythonSupport ? (! stdenv ? cross) }:
1+{ stdenv, lib, fetchurl, fetchpatch
2+, zlib, xz, python2, findXMLCatalogs, libiconv
3+, pythonSupport ? (! stdenv ? cross)
4+, icuSupport ? false, icu ? null }:
35
46let
57 python = python2;
8+
69in stdenv.mkDerivation rec {
710 name = "libxml2-${version}";
811 version = "2.9.4";
@@ -37,9 +40,11 @@ in stdenv.mkDerivation rec {
3740 # RUNPATH for that, leading to undefined references for its users.
3841 ++ lib.optional stdenv.isFreeBSD xz;
3942
40− propagatedBuildInputs = [ zlib findXMLCatalogs ];
43+ propagatedBuildInputs = [ zlib findXMLCatalogs ] ++ lib.optional icuSupport icu;
4144
42− configureFlags = lib.optional pythonSupport "--with-python=${python}"
45+ configureFlags =
46+ lib.optional pythonSupport "--with-python=${python}"
47+ ++ lib.optional icuSupport "--with-icu"
4348 ++ [ "--exec_prefix=$dev" ];
4449
4550 enableParallelBuilding = true;
pkgs/os-specific/linux/ati-drivers/default.nix+4−1
@@ -80,7 +80,10 @@ stdenv.mkDerivation rec {
8080 ./patches/kernel-4.6-page_cache_release-put_page.patch ]
8181 ++ optionals ( kernel != null &&
8282 (lib.versionAtLeast kernel.version "4.7") )
83− [ ./patches/4.7-arch-cpu_has_pge-v2.patch ];
83+ [ ./patches/4.7-arch-cpu_has_pge-v2.patch ]
84+ ++ optionals ( kernel != null &&
85+ (lib.versionAtLeast kernel.version "4.9") )
86+ [ ./patches/4.9-get_user_pages.patch ];
8487
8588 buildInputs =
8689 [ xorg.libXrender xorg.libXext xorg.libX11 xorg.libXinerama xorg.libSM
pkgs/os-specific/linux/ati-drivers/patches/4.9-get_user_pages.patchnew file+28
@@ -0,0 +1,28 @@
1+commit b3e4353fc68a6a024dcb95e2d61aa0afd7370233
2+Author: Matt McHenry <matt@mchenryfamily.org>
3+Date: Fri Feb 3 20:19:41 2017
4+
5+ patch for 4.9 only
6+
7+diff --git a/common/lib/modules/fglrx/build_mod/firegl_public.c b/common/lib/modules/fglrx/build_mod/firegl_public.c
8+index 4ce095f..3b591e1 100755
9+--- a/common/lib/modules/fglrx/build_mod/firegl_public.c
10++++ b/common/lib/modules/fglrx/build_mod/firegl_public.c
11+@@ -3224,7 +3224,7 @@ int ATI_API_CALL KCL_LockUserPages(unsigned long vaddr, unsigned long* page_list
12+ int ret;
13+
14+ down_read(&current->mm->mmap_sem);
15+- ret = get_user_pages(vaddr, page_cnt, 1, 0, (struct page **)page_list, NULL);
16++ ret = get_user_pages(vaddr, page_cnt, 1, (struct page **)page_list, NULL);
17+ up_read(&current->mm->mmap_sem);
18+
19+ return ret;
20+@@ -3242,7 +3242,7 @@ int ATI_API_CALL KCL_LockReadOnlyUserPages(unsigned long vaddr, unsigned long* p
21+ int ret;
22+
23+ down_read(&current->mm->mmap_sem);
24+- ret = get_user_pages(vaddr, page_cnt, 0, 0, (struct page **)page_list, NULL);
25++ ret = get_user_pages(vaddr, page_cnt, 0, (struct page **)page_list, NULL);
26+ up_read(&current->mm->mmap_sem);
27+
28+ return ret;
pkgs/tools/misc/hakuneko/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "hakuneko-${version}";
5− version = "1.4.1";
5+ version = "1.4.2";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/hakuneko/hakuneko_${version}_src.tar.gz";
9− sha256 = "d7e066e3157445f273ccf14172c05077759da036ffe700a28a409fde862b69a7";
9+ sha256 = "76a63fa05e91b082cb5a70a8abacef005354e99978ff8b1369f7aa0af7615d52";
1010 };
1111
1212 preConfigure = ''