From 8bdee80d3927e32bb39630c3993fcf8fd61af950 Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Mon, 14 Mar 2016 06:17:51 +0000 Subject: linux: add 4.5 --- pkgs/os-specific/linux/kernel/linux-4.5.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkgs/os-specific/linux/kernel/linux-4.5.nix (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-4.5.nix b/pkgs/os-specific/linux/kernel/linux-4.5.nix new file mode 100644 index 00000000000..790175d6e88 --- /dev/null +++ b/pkgs/os-specific/linux/kernel/linux-4.5.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, perl, buildLinux, ... } @ args: + +import ./generic.nix (args // rec { + version = "4.5"; + modDirVersion = "4.5.0"; + extraMeta.branch = "4.5"; + + src = fetchurl { + url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; + sha256 = "172i3arrc34mb7nxw31iqrmbwrdnp8dmrbf8p3b3f6z006sfy3d4"; + }; + + kernelPatches = args.kernelPatches; + + features.iwlwifi = true; + features.efiBootStub = true; + features.needsCifsUtils = true; + features.canDisableNetfilterConntrackHelpers = true; + features.netfilterRPFilter = true; +} // (args.argsOverride or {})) -- cgit 1.4.1 From e99eeb4c3f9f2a9aecb06675353def10c4e77b3a Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Tue, 15 Mar 2016 15:41:00 +0000 Subject: zfs: 0.6.5.4 -> 0.6.5.5 --- pkgs/os-specific/linux/zfs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/zfs/default.nix b/pkgs/os-specific/linux/zfs/default.nix index 42da97a7a7b..d29a7560771 100644 --- a/pkgs/os-specific/linux/zfs/default.nix +++ b/pkgs/os-specific/linux/zfs/default.nix @@ -20,13 +20,13 @@ assert buildKernel -> kernel != null && spl != null; stdenv.mkDerivation rec { name = "zfs-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}"; - version = "0.6.5.4"; + version = "0.6.5.5"; src = fetchFromGitHub { owner = "zfsonlinux"; repo = "zfs"; rev = "zfs-${version}"; - sha256 = "10zf1kdgmdiaaa3zmz4sz5aj5ql6v24wcwixlxbwhwc51mr46k50"; + sha256 = "0np03p5zkx87a0a5rw629f9m4wp5gd01c1jkh5p7h63mmvaxfdda"; }; patches = [ ./nix-build.patch ]; -- cgit 1.4.1 From 56f7fb9a04b03a1591cc2706d701863a80f9c4d7 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Mon, 14 Mar 2016 17:47:43 +0100 Subject: spl: 0.6.5.4 -> 0.6.5.5 --- pkgs/os-specific/linux/spl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/spl/default.nix b/pkgs/os-specific/linux/spl/default.nix index 959523ec597..772ff0b6009 100644 --- a/pkgs/os-specific/linux/spl/default.nix +++ b/pkgs/os-specific/linux/spl/default.nix @@ -17,13 +17,13 @@ assert buildKernel -> kernel != null; stdenv.mkDerivation rec { name = "spl-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}"; - version = "0.6.5.4"; + version = "0.6.5.5"; src = fetchFromGitHub { owner = "zfsonlinux"; repo = "spl"; rev = "spl-${version}"; - sha256 = "0k80xvl15ahbs0mylfl2bd5widxhngpf7dl6zq46s21wk0795jl4"; + sha256 = "1f49qv648klg2sn1v1wzwd6ls1njjj0hrazz7msd74ayhwm0zcw7"; }; patches = [ ./const.patch ./install_prefix.patch ]; -- cgit 1.4.1 From a1de2259131a144e93426ec6dae21a305e733ee4 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Wed, 16 Mar 2016 20:05:22 +0100 Subject: Revert "nvidia: 358.16 -> 361.28" to fix #13942 This reverts commit e0fe8cf204216beb2485d6f56cde9aa25d56a977. Befor updating we need to fixup problems related to GLVND transition. --- pkgs/os-specific/linux/nvidia-x11/beta.nix | 10 +++++----- pkgs/os-specific/linux/nvidia-x11/builder.sh | 15 +++++---------- pkgs/os-specific/linux/nvidia-x11/default.nix | 6 +++--- 3 files changed, 13 insertions(+), 18 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/nvidia-x11/beta.nix b/pkgs/os-specific/linux/nvidia-x11/beta.nix index d53d5e19d40..d3111a4f75a 100644 --- a/pkgs/os-specific/linux/nvidia-x11/beta.nix +++ b/pkgs/os-specific/linux/nvidia-x11/beta.nix @@ -12,7 +12,7 @@ assert (!libsOnly) -> kernel != null; let - versionNumber = "361.18"; + versionNumber = "349.12"; # Policy: use the highest stable version as the default (on our master). inherit (stdenv.lib) makeLibraryPath; @@ -27,13 +27,13 @@ stdenv.mkDerivation { src = if stdenv.system == "i686-linux" then fetchurl { - url = "http://download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run"; - sha256 = "1n6nrz59r3dgcpkcpr4yw997fygkpsdbv1x45c30w781w0j1q5s5"; + url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run"; + sha256 = "0x9zfw66nxv98zpkdkymlyqzspksk850bhfmza7g7pba4yba085h"; } else if stdenv.system == "x86_64-linux" then fetchurl { - url = "http://download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-no-compat32.run"; - sha256 = "12fi7vb697h38qh0f2j40q76yx9fqk6vwx20zfxhac3fvdhw2sj0"; + url = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-no-compat32.run"; + sha256 = "19mfkigzffxsik3h4bsjsl481q410h804fz3rdc7chs86q4bg9h3"; } else throw "nvidia-x11 does not support platform ${stdenv.system}"; diff --git a/pkgs/os-specific/linux/nvidia-x11/builder.sh b/pkgs/os-specific/linux/nvidia-x11/builder.sh index 09c104f09e7..c1f165c45dd 100755 --- a/pkgs/os-specific/linux/nvidia-x11/builder.sh +++ b/pkgs/os-specific/linux/nvidia-x11/builder.sh @@ -19,7 +19,7 @@ buildPhase() { sysSrc=$(echo $kernel/lib/modules/$kernelVersion/source) sysOut=$(echo $kernel/lib/modules/$kernelVersion/build) unset src # used by the nv makefile - make SYSSRC=$sysSrc SYSOUT=$sysOut module "-j${NIX_BUILD_CORES}" "-l${NIX_BUILD_CORES}" + make SYSSRC=$sysSrc SYSOUT=$sysOut module cd .. fi @@ -34,14 +34,6 @@ installPhase() { cp -prd *.so.* tls "$out/lib/" rm "$out"/lib/lib{glx,nvidia-wfb}.so.* # handled separately - # According to nvidia, we're supposed to use GLVND. - # But so far I've failed to make any applications run using that stack. - # - # If you want to try it, swap the two lines below. - - #rm "$out"/lib/libGL.so.${versionNumber} # Non-GLVND - rm $out/lib/libGL.so.1.* # GLVND - if test -z "$libsOnly"; then # Install the X drivers. mkdir -p $out/lib/xorg/modules @@ -69,7 +61,7 @@ installPhase() { libname_short=`echo -n "$libname" | sed 's/so\..*/so/'` # nvidia's EGL stack seems to expect libGLESv2.so.2 to be available - if [ $(basename "$libname_short") == "libGLESv2.so" -a "$libname" != "$libname_short.2" ]; then + if [ $(basename "$libname_short") == "libGLESv2.so" ]; then ln -srnf "$libname" "$libname_short.2" fi @@ -127,6 +119,9 @@ installPhase() { # For simplicity and dependency reduction, don't support the gtk3 interface. rm $out/lib/libnvidia-gtk3.* + # We distribute these separately in `libvdpau` + rm "$out"/lib/libvdpau{.*,_trace.*} + # Move VDPAU libraries to their place mkdir "$out"/lib/vdpau mv "$out"/lib/libvdpau* "$out"/lib/vdpau diff --git a/pkgs/os-specific/linux/nvidia-x11/default.nix b/pkgs/os-specific/linux/nvidia-x11/default.nix index 86abeeaa824..fff1135d311 100644 --- a/pkgs/os-specific/linux/nvidia-x11/default.nix +++ b/pkgs/os-specific/linux/nvidia-x11/default.nix @@ -12,7 +12,7 @@ assert (!libsOnly) -> kernel != null; let - versionNumber = "361.28"; + versionNumber = "358.16"; # Policy: use the highest stable version as the default (on our master). inherit (stdenv.lib) makeLibraryPath; @@ -28,12 +28,12 @@ stdenv.mkDerivation { if stdenv.system == "i686-linux" then fetchurl { url = "http://download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run"; - sha256 = "013l9hfjc7gyk5g2v2h71lwjmx4dqlkczsb17cz833fnadcrn4hs"; + sha256 = "1cc0zsri92nz2mznabfd6pqckm9mlbszmysqqqh3w5mipwn898nk"; } else if stdenv.system == "x86_64-linux" then fetchurl { url = "http://download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-no-compat32.run"; - sha256 = "1kq335mdmwlgp0lp9z8wrwyh48p2xv2nwdlgfj7b83vsh6ib17a4"; + sha256 = "1xr16faam2zsx8ajwm9g9302m6qjzyjh1zd56g8jhc8jxg8h43sg"; } else throw "nvidia-x11 does not support platform ${stdenv.system}"; -- cgit 1.4.1 From 0dea3803e7c02c43d90aa45a2943d9df75349b38 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 16 Mar 2016 20:47:54 +0100 Subject: freefall: inherit kernel package from linuxPackages Let's never bump again. --- pkgs/os-specific/linux/freefall/default.nix | 14 ++++++-------- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/freefall/default.nix b/pkgs/os-specific/linux/freefall/default.nix index 590b6b61dd3..54be786d10d 100644 --- a/pkgs/os-specific/linux/freefall/default.nix +++ b/pkgs/os-specific/linux/freefall/default.nix @@ -1,13 +1,9 @@ -{ stdenv, fetchurl }: +{ stdenv, kernel }: stdenv.mkDerivation rec { - name = "freefall-${version}"; - version = "4.3"; + inherit (kernel) version src; - src = fetchurl { - sha256 = "1bpkr45i4yzp32p0vpnz8mlv9lk4q2q9awf1kg9khg4a9g42qqja"; - url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - }; + name = "freefall-${version}"; postPatch = '' cd tools/laptop/freefall @@ -20,6 +16,8 @@ stdenv.mkDerivation rec { makeFlags = [ "PREFIX=$(out)" ]; meta = with stdenv.lib; { + inherit (kernel.meta) homepage license; + description = "Free-fall protection for spinning HP/Dell laptop hard drives"; longDescription = '' Provides a shock protection facility in modern laptops with spinning hard @@ -29,7 +27,7 @@ stdenv.mkDerivation rec { feature, which should cause the drive to switch to idle mode and unload the disk heads, and an accelerometer device. It has no effect on SSD devices! ''; - license = licenses.gpl2; + platforms = platforms.linux; maintainers = with maintainers; [ nckx ]; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ef2bb17b046..9eaaab0b0e8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10274,7 +10274,9 @@ let firejail = callPackage ../os-specific/linux/firejail {}; - freefall = callPackage ../os-specific/linux/freefall { }; + freefall = callPackage ../os-specific/linux/freefall { + inherit (linuxPackages) kernel; + }; fuse = callPackage ../os-specific/linux/fuse { }; -- cgit 1.4.1 From 7475728593a49f09c4b7b959b15513aee38ab4b4 Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Thu, 17 Mar 2016 02:02:21 -0400 Subject: mbpfan: 1.9.0 -> 1.9.1 --- pkgs/os-specific/linux/mbpfan/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/mbpfan/default.nix b/pkgs/os-specific/linux/mbpfan/default.nix index 75099e95f90..54de1e1108c 100644 --- a/pkgs/os-specific/linux/mbpfan/default.nix +++ b/pkgs/os-specific/linux/mbpfan/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { name = "mbpfan-${version}"; - version = "1.9.0"; + version = "1.9.1"; src = fetchFromGitHub { owner = "dgraziotin"; repo = "mbpfan"; rev = "v${version}"; - sha256 = "15nm1d0a0c0lzxqngrpn2qpsydsmglnn6d20djl7brpsq26j24h9"; + sha256 = "0issn5233h2nclrmh2jzyy5y0dyyd57f1ia7gvs3bys95glcm2s5"; }; patches = [ ./fixes.patch ]; postPatch = '' -- cgit 1.4.1 From 6faa0aea88dc8bf46ebf0e74f91d17d94ad6f7d4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 Mar 2016 13:05:13 +0100 Subject: linux: 3.18.27 -> 3.18.28 CVE-2016-2085 --- pkgs/os-specific/linux/kernel/linux-3.18.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-3.18.nix b/pkgs/os-specific/linux/kernel/linux-3.18.nix index a8c86d0e618..6aa0eff8937 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.18.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.18.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { - version = "3.18.27"; + version = "3.18.28"; extraMeta.branch = "3.18"; src = fetchurl { url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; - sha256 = "01lz0c3ns0yp5vnjch1pn10h43g6fr4xw7w3b6kb477083cjr7dc"; + sha256 = "1vd7xm5wh082bwh93f69r99727y1yd5l6qjdm68rs0j5lzhamdbl"; }; kernelPatches = args.kernelPatches; -- cgit 1.4.1 From 4b512321de9ef16bcf2301ebc2fae44b644c7b30 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 Mar 2016 13:05:57 +0100 Subject: linux: 4.4.5 -> 4.4.6 CVE-2016-2143 --- pkgs/os-specific/linux/kernel/linux-4.4.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-4.4.nix b/pkgs/os-specific/linux/kernel/linux-4.4.nix index 36181308a8b..fecb3b05f97 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.4.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.4.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { - version = "4.4.5"; + version = "4.4.6"; extraMeta.branch = "4.4"; src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "1daavrj2msl85aijh1izfm1cwf14c7mi75hldzidr1h2v629l89h"; + sha256 = "0zapxjnawdn0km6b9pc7399zbjiyb0a28rqmsif3afc9qb2cxg53"; }; kernelPatches = args.kernelPatches; -- cgit 1.4.1 From 3e1ec2b6632fafd4cb97a750aa8a44a9f374fb06 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Fri, 18 Mar 2016 23:39:03 +0100 Subject: criu: fix build Would fail due to -Werror; see https://hydra.nixos.org/build/33217086/nixlog/2/raw --- pkgs/os-specific/linux/criu/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/criu/default.nix b/pkgs/os-specific/linux/criu/default.nix index 433cc2c81d7..6afaf36bd80 100644 --- a/pkgs/os-specific/linux/criu/default.nix +++ b/pkgs/os-specific/linux/criu/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { substituteInPlace ./scripts/gen-offsets.sh --replace hexdump ${utillinux}/bin/hexdump substituteInPlace ./Documentation/Makefile --replace "2>/dev/null" "" substituteInPlace ./Documentation/Makefile --replace "--skip-validation" "--skip-validation -x ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl" + substituteInPlace ./Makefile --replace "-Werror" "" ''; configurePhase = "make config PREFIX=$out"; @@ -28,11 +29,11 @@ stdenv.mkDerivation rec { make install PREFIX=$out LIBDIR=$out/lib ASCIIDOC=${asciidoc}/bin/asciidoc XMLTO=${xmlto}/bin/xmlto ''; - meta = { - description = "userspace checkpoint/restore for Linux"; - homepage = "http://criu.org"; - license = stdenv.lib.licenses.gpl2; + meta = with stdenv.lib; { + description = "Userspace checkpoint/restore for Linux"; + homepage = https://criu.org; + license = licenses.gpl2; platforms = [ "x86_64-linux" ]; - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; + maintainers = [ maintainers.thoughtpolice ]; }; } -- cgit 1.4.1 From 6f5f855a2e6564898c96332db8748258fcf0a4c8 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Sat, 19 Mar 2016 18:25:24 +0000 Subject: kernel: 3.10.99 -> 3.10.101 --- pkgs/os-specific/linux/kernel/linux-3.10.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-3.10.nix b/pkgs/os-specific/linux/kernel/linux-3.10.nix index d0c09d35cd0..3fe7df6b40e 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.10.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.10.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { - version = "3.10.99"; + version = "3.10.101"; extraMeta.branch = "3.10"; src = fetchurl { url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; - sha256 = "1hq90yn2ry36y317px7f0wy55j70ip3wlxa4qsdl9pzlndadcp24"; + sha256 = "1g8jx6vla8bjhy3xn0s7r6awinxpfr1w8zqfzjsx88pkqbf8qd9n"; }; kernelPatches = args.kernelPatches; -- cgit 1.4.1 From bf41deb88900d79e0c8bac2e88628ad4a3991d04 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Sat, 19 Mar 2016 18:27:41 +0000 Subject: kernel: 3.12.55 -> 3.12.57 --- pkgs/os-specific/linux/kernel/linux-3.12.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-3.12.nix b/pkgs/os-specific/linux/kernel/linux-3.12.nix index f146e5f2f13..49de2c2ab0f 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.12.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.12.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { - version = "3.12.55"; + version = "3.12.57"; extraMeta.branch = "3.12"; src = fetchurl { url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; - sha256 = "0xg52i6zsrkzv0i2kxrsx0179lkp9f2388r06rahx0anf4ars5p2"; + sha256 = "0qv88rvi0n45z3888w2gis35lxdx34qg2p7c2cac2szbrzv664s8"; }; kernelPatches = args.kernelPatches; -- cgit 1.4.1 From 4274edbe40af4c3037c3b91aaae492f7a13b705e Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Sat, 19 Mar 2016 18:29:40 +0000 Subject: kernel: 3.14.63 -> 3.14.65 --- pkgs/os-specific/linux/kernel/linux-3.14.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-3.14.nix b/pkgs/os-specific/linux/kernel/linux-3.14.nix index ae3ba775d41..f69fa93ea2f 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.14.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.14.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { - version = "3.14.63"; + version = "3.14.65"; extraMeta.branch = "3.14"; src = fetchurl { url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; - sha256 = "0q3qcgcaxjc298dgjpfn6g17lvki2p87f0zkaxs0h0g13jhykwbz"; + sha256 = "0pqfgzinwgllvyx0cfv0vnllgvzrrpbr2yi21zgppdd1iw6nipsd"; }; kernelPatches = args.kernelPatches; -- cgit 1.4.1 From 497c828611f248baa8bdf8320e841b24e528bbe4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 19 Mar 2016 17:21:16 +0100 Subject: fuse: 2.9.3 -> 2.9.5 --- pkgs/os-specific/linux/fuse/builder.sh | 18 ----------------- pkgs/os-specific/linux/fuse/default.nix | 34 +++++++++++++++++++++++---------- pkgs/top-level/all-packages.nix | 4 +++- 3 files changed, 27 insertions(+), 29 deletions(-) delete mode 100644 pkgs/os-specific/linux/fuse/builder.sh (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/fuse/builder.sh b/pkgs/os-specific/linux/fuse/builder.sh deleted file mode 100644 index c843ae6183b..00000000000 --- a/pkgs/os-specific/linux/fuse/builder.sh +++ /dev/null @@ -1,18 +0,0 @@ -source $stdenv/setup - -export MOUNT_FUSE_PATH=$out/sbin -export INIT_D_PATH=$out/etc/init.d -export UDEV_RULES_PATH=$out/etc/udev/rules.d - -# This is ugly. Normally, FUSE executes $out/bin/fusermount to mount -# the file system. However, fusermount should be setuid root, but Nix -# doesn't support setuid binaries, so fusermount will fail. By -# setting FUSERMOUNT_DIR to a non-existant path, FUSE will fall back -# to searching for fusermount in $PATH. The user is responsible for -# (e.g.) setting up a setuid-wrapper for fusermount and adding it to -# $PATH. -export NIX_CFLAGS_COMPILE="-DFUSERMOUNT_DIR=\"/no-such-path\"" - -export preBuild="sed -e 's@/bin/@$utillinux/bin/@g' -i lib/mount_util.c"; - -genericBuild diff --git a/pkgs/os-specific/linux/fuse/default.nix b/pkgs/os-specific/linux/fuse/default.nix index 036ece4627b..d86eb2a9756 100644 --- a/pkgs/os-specific/linux/fuse/default.nix +++ b/pkgs/os-specific/linux/fuse/default.nix @@ -1,21 +1,35 @@ { stdenv, fetchurl, utillinux }: stdenv.mkDerivation rec { - name = "fuse-2.9.3"; - - builder = ./builder.sh; - + name = "fuse-2.9.5"; + + #builder = ./builder.sh; + src = fetchurl { - url = "mirror://sourceforge/fuse/${name}.tar.gz"; - sha256 = "071r6xjgssy8vwdn6m28qq1bqxsd2bphcd2mzhq0grf5ybm87sqb"; + url = "https://github.com/libfuse/libfuse/releases/download/fuse_2_9_5/${name}.tar.gz"; + sha256 = "1dfvbi1p57svbv2sfnbqwpnsk219spvjnlapf35azhgzqlf3g7sp"; }; - - configureFlags = "--disable-kernel-module"; - + buildInputs = [ utillinux ]; - + inherit utillinux; + preConfigure = + '' + export MOUNT_FUSE_PATH=$out/sbin + export INIT_D_PATH=$TMPDIR/etc/init.d + export UDEV_RULES_PATH=$out/etc/udev/rules.d + + # Ensure that FUSE calls the setuid wrapper, not + # $out/bin/fusermount. It falls back to calling fusermount in + # $PATH, so it should also work on non-NixOS systems. + export NIX_CFLAGS_COMPILE="-DFUSERMOUNT_DIR=\"/var/setuid-wrappers\"" + + sed -e 's@/bin/@${utillinux}/bin/@g' -i lib/mount_util.c + ''; + + enableParallelBuilding = true; + meta = with stdenv.lib; { homepage = http://fuse.sourceforge.net/; description = "Kernel module and library that allows filesystems to be implemented in user space"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 22cb6b3c8fa..75d6de57a31 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10286,7 +10286,9 @@ let inherit (linuxPackages) kernel; }; - fuse = callPackage ../os-specific/linux/fuse { }; + fuse = callPackage ../os-specific/linux/fuse { + utillinux = utillinuxMinimal; + }; fusionio-util = callPackage ../os-specific/linux/fusionio/util.nix { }; -- cgit 1.4.1 From d9e60e4d43ae21dbd63b76cf86edcc8f56c4d764 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Sat, 19 Mar 2016 22:18:53 +0000 Subject: htop: merge both implementations htop 2.0+ is now cross-platform --- pkgs/os-specific/darwin/htop/default.nix | 21 --------------------- pkgs/os-specific/linux/htop/default.nix | 21 --------------------- pkgs/tools/system/htop/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 9 +-------- 4 files changed, 22 insertions(+), 50 deletions(-) delete mode 100644 pkgs/os-specific/darwin/htop/default.nix delete mode 100644 pkgs/os-specific/linux/htop/default.nix create mode 100644 pkgs/tools/system/htop/default.nix (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/darwin/htop/default.nix b/pkgs/os-specific/darwin/htop/default.nix deleted file mode 100644 index 3f076b838d4..00000000000 --- a/pkgs/os-specific/darwin/htop/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ fetchurl, stdenv, ncurses, autoconf, automake, IOKit }: - -stdenv.mkDerivation rec { - name = "htop-0.8.2.2"; - - src = fetchurl { - url = "https://github.com/max-horvath/htop-osx/archive/0.8.2.2.tar.gz"; - sha256 = "0qxibadn2lfqn10a5jmkv8r5ljfs0vaaa4j6psd7ppxa2w6bx5li"; - }; - - buildInputs = [ autoconf automake ncurses IOKit ]; - - preConfigure = "./autogen.sh"; - - meta = { - description = "An interactive process viewer for Mac OS X"; - homepage = "https://github.com/max-horvath/htop-osx"; - platforms = stdenv.lib.platforms.darwin; - maintainers = with stdenv.lib.maintainers; [ joelteon ]; - }; -} diff --git a/pkgs/os-specific/linux/htop/default.nix b/pkgs/os-specific/linux/htop/default.nix deleted file mode 100644 index 946b44346ab..00000000000 --- a/pkgs/os-specific/linux/htop/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ fetchurl, stdenv, ncurses }: - -stdenv.mkDerivation rec { - name = "htop-${version}"; - version = "2.0.1"; - - src = fetchurl { - sha256 = "0rjn9ybqx5sav7z4gn18f1q6k23nmqyb6yydfgghzdznz9nn447l"; - url = "http://hisham.hm/htop/releases/${version}/${name}.tar.gz"; - }; - - buildInputs = [ ncurses ]; - - meta = with stdenv.lib; { - description = "An interactive process viewer for Linux"; - homepage = http://htop.sourceforge.net; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ rob simons relrod nckx ]; - }; -} diff --git a/pkgs/tools/system/htop/default.nix b/pkgs/tools/system/htop/default.nix new file mode 100644 index 00000000000..9c05c07c052 --- /dev/null +++ b/pkgs/tools/system/htop/default.nix @@ -0,0 +1,21 @@ +{ fetchurl, stdenv, ncurses }: + +stdenv.mkDerivation rec { + name = "htop-${version}"; + version = "2.0.1"; + + src = fetchurl { + sha256 = "0rjn9ybqx5sav7z4gn18f1q6k23nmqyb6yydfgghzdznz9nn447l"; + url = "http://hisham.hm/htop/releases/${version}/${name}.tar.gz"; + }; + + buildInputs = [ ncurses ]; + + meta = with stdenv.lib; { + description = "An interactive process viewer for Linux"; + homepage = https://hisham.hm/htop/; + license = licenses.gpl2Plus; + platforms = platforms.all; + maintainers = with maintainers; [ rob simons relrod nckx ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3ac55c8f817..cbb41322f89 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10311,14 +10311,7 @@ let hostapd = callPackage ../os-specific/linux/hostapd { }; - htop = - if stdenv.isLinux then - callPackage ../os-specific/linux/htop { } - else if stdenv.isDarwin then - callPackage ../os-specific/darwin/htop { - inherit (darwin.apple_sdk.frameworks) IOKit; - } - else null; + htop = callPackage ../tools/system/htop { }; # GNU/Hurd core packages. gnu = recurseIntoAttrs (callPackage ../os-specific/gnu { -- cgit 1.4.1 From f59998055b1a18a59172fe5a9ab3d6ef3e6bff71 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 20 Mar 2016 16:46:50 +0100 Subject: ldm: fix build There were two problems: - because buildPhase is specified directly, preBuild ends up never being executed; and - the source is missing a header, resulting in an undefined reference error --- pkgs/os-specific/linux/ldm/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/ldm/default.nix b/pkgs/os-specific/linux/ldm/default.nix index c5e94ed81e9..a32d815ac2f 100644 --- a/pkgs/os-specific/linux/ldm/default.nix +++ b/pkgs/os-specific/linux/ldm/default.nix @@ -19,9 +19,10 @@ stdenv.mkDerivation rec { buildInputs = [ udev utillinux ]; - preBuild = '' + postPatch = '' substituteInPlace ldm.c \ --replace "/mnt/" "${mountPath}" + sed '16i#include ' -i ldm.c ''; buildPhase = "make ldm"; -- cgit 1.4.1 From 4d0d1124ae8552ed09feeebbaa39cdbcce6b6a7c Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 21 Mar 2016 03:05:59 +0100 Subject: lxc: 1.1.4 -> 1.1.5 --- pkgs/os-specific/linux/lxc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/lxc/default.nix b/pkgs/os-specific/linux/lxc/default.nix index 43a77f4c828..2bc9f7eaeeb 100644 --- a/pkgs/os-specific/linux/lxc/default.nix +++ b/pkgs/os-specific/linux/lxc/default.nix @@ -12,11 +12,11 @@ in with stdenv.lib; stdenv.mkDerivation rec { name = "lxc-${version}"; - version = "1.1.4"; + version = "1.1.5"; src = fetchurl { url = "https://linuxcontainers.org/downloads/lxc/lxc-${version}.tar.gz"; - sha256 = "1p75ff4lnkm7hq26zq09nqbdypl508csk0ix024l7j8v02i2w1wg"; + sha256 = "1gnhgs4i2zamfdydj895inr9i072658wd47nf1ryw5710hdsv24m"; }; nativeBuildInputs = [ @@ -79,6 +79,6 @@ stdenv.mkDerivation rec { ''; platforms = platforms.linux; - maintainers = with maintainers; [ simons wkennington globin ]; + maintainers = with maintainers; [ simons wkennington globin fpletz ]; }; } -- cgit 1.4.1 From b33453bd9871102d136a7f422690732bb8aedac6 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 21 Mar 2016 03:06:19 +0100 Subject: lxc: Add patch to fix bash completion Fixes #9616. --- pkgs/os-specific/linux/lxc/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/lxc/default.nix b/pkgs/os-specific/linux/lxc/default.nix index 2bc9f7eaeeb..fcfe4975fd7 100644 --- a/pkgs/os-specific/linux/lxc/default.nix +++ b/pkgs/os-specific/linux/lxc/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, autoreconfHook, pkgconfig, perl, docbook2x +{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig, perl, docbook2x , docbook_xml_dtd_45, python3Packages # Optional Dependencies @@ -27,7 +27,13 @@ stdenv.mkDerivation rec { python3Packages.python systemd ]; - patches = [ ./support-db2x.patch ]; + patches = [ + ./support-db2x.patch + (fetchpatch { + url = "https://github.com/lxc/lxc/commit/3db8dd39a797f87f8b348f1b6b44953a25f3f170.patch"; + sha256 = "0scbzm9dqqhqsl0ri8da8a34r4qj9ph0cg68l9s7gw01vpvqbs8l"; + }) + ]; XML_CATALOG_FILES = "${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml"; -- cgit 1.4.1 From 379709b4045fc6ec720f82828cb1f9ce896ea0fa Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Sat, 19 Mar 2016 18:34:01 +0000 Subject: kernel: 4.1.17 -> 4.1.20 (close #14058) --- pkgs/os-specific/linux/kernel/linux-4.1.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-4.1.nix b/pkgs/os-specific/linux/kernel/linux-4.1.nix index fbcfa17a8bc..57e239c1d09 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.1.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.1.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { - version = "4.1.17"; + version = "4.1.20"; extraMeta.branch = "4.1"; src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "084ij19vgm27ljrjabqqmlqn27p168nsm9grhr6rajid4n79h6ab"; + sha256 = "1dpq8dgj351jzm7n6330a4xriz9dxv7d9wxzj9zn9q7ya22np9gs"; }; kernelPatches = args.kernelPatches; -- cgit 1.4.1 From 6476075ccfbe11d4c30b33ec0d76f92d53d91097 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Sat, 19 Mar 2016 18:32:10 +0000 Subject: kernel: 3.18.28 -> 3.18.29 (close #14057) --- pkgs/os-specific/linux/kernel/linux-3.18.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-3.18.nix b/pkgs/os-specific/linux/kernel/linux-3.18.nix index 6aa0eff8937..28893ce3f9f 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.18.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.18.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { - version = "3.18.28"; + version = "3.18.29"; extraMeta.branch = "3.18"; src = fetchurl { url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; - sha256 = "1vd7xm5wh082bwh93f69r99727y1yd5l6qjdm68rs0j5lzhamdbl"; + sha256 = "0g8vlhifl31dyghiamykrpgj6n8h5w6gh6n88ir57z6lj188vaj8"; }; kernelPatches = args.kernelPatches; -- cgit 1.4.1 From c0a35241f0a54f3859564b66ea71d4901ab2978f Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 22 Mar 2016 00:58:51 +0100 Subject: mcelog: 133 -> 134 trigger: Avoid warning from earlier merge --- pkgs/development/interpreters/guile/default.nix | 2 ++ pkgs/os-specific/linux/mcelog/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/development/interpreters/guile/default.nix b/pkgs/development/interpreters/guile/default.nix index c4634de5d3f..5e2883f9fb3 100644 --- a/pkgs/development/interpreters/guile/default.nix +++ b/pkgs/development/interpreters/guile/default.nix @@ -40,6 +40,8 @@ # don't have "libgcc_s.so.1" on darwin LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; + configureFlags = [ "--with-libreadline-prefix" ]; + postInstall = '' wrapProgram $out/bin/guile-snarf --prefix PATH : "${gawk}/bin" diff --git a/pkgs/os-specific/linux/mcelog/default.nix b/pkgs/os-specific/linux/mcelog/default.nix index a30558092c3..40368d1c08f 100644 --- a/pkgs/os-specific/linux/mcelog/default.nix +++ b/pkgs/os-specific/linux/mcelog/default.nix @@ -2,10 +2,10 @@ stdenv.mkDerivation rec { name = "mcelog-${version}"; - version = "133"; + version = "134"; src = fetchFromGitHub { - sha256 = "1qj9jz67bd834sgqcxhyhn9fzxg8y9vfw7gmza5ikmjm6yi6mmfr"; + sha256 = "1kah9fcbc8m7sncylcd2n4xcbm5dwgyzplm3d7zwgkdg6xgxjlc7"; rev = "v${version}"; repo = "mcelog"; owner = "andikleen"; -- cgit 1.4.1 From 40b05382397ed448c76e30ab034669da12d970f4 Mon Sep 17 00:00:00 2001 From: Lluís Batlle i Rossell Date: Mon, 21 Mar 2016 21:54:09 +0100 Subject: Update linux raspberry-pi to 4.1.y. I could boot it in pi2; I don't know if I needed new firmware files in /boot. --- pkgs/os-specific/linux/kernel/linux-rpi.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-rpi.nix b/pkgs/os-specific/linux/kernel/linux-rpi.nix index 320d4994cf2..777662718af 100644 --- a/pkgs/os-specific/linux/kernel/linux-rpi.nix +++ b/pkgs/os-specific/linux/kernel/linux-rpi.nix @@ -2,17 +2,17 @@ let - rev = "fe4a83540ec73dfc298f16f027277355470ea9a0"; + rev = "f4b20d47d7df7927967fcd524324b145cfc9e2f9"; in import ./generic.nix (args // rec { - version = "3.18.y-${rev}"; + version = "4.1.y-${rev}"; - modDirVersion = "3.18.7"; + modDirVersion = "4.1.20-v7"; src = fetchurl { url = "https://api.github.com/repos/raspberrypi/linux/tarball/${rev}"; name = "linux-raspberrypi-${version}.tar.gz"; - sha256 = "05gq40f038hxjqd3sdb1914g2bzw533dyxy59sgdpybs8801x2vb"; + sha256 = "0x17hlbi7lpmmnp24dnkync5gzj57j84j0nlrcv1lv9fahjkqsm2"; }; features.iwlwifi = true; -- cgit 1.4.1 From 40b396a7a41d13475720e3568199f4f56d65f03b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 23 Mar 2016 13:28:14 +0100 Subject: kexectools: 2.0.11 -> 2.0.12 --- pkgs/os-specific/linux/kexectools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kexectools/default.nix b/pkgs/os-specific/linux/kexectools/default.nix index 2199524154d..d7d79b0257d 100644 --- a/pkgs/os-specific/linux/kexectools/default.nix +++ b/pkgs/os-specific/linux/kexectools/default.nix @@ -2,14 +2,14 @@ stdenv.mkDerivation rec { name = "kexec-tools-${version}"; - version = "2.0.11"; + version = "2.0.12"; src = fetchurl { urls = [ "mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz" "http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz" ]; - sha256 = "1qrfka9xvy77k0rg3k0cf7xai0f9vpgsbs4l3bs8r4nvzy37j2di"; + sha256 = "03cj7w2l5fqn72xfhl4q6z0zbziwkp9bfn0gs7gaf9i44jv6gkhl"; }; buildInputs = [ zlib ]; -- cgit 1.4.1 From 64fe4ad82d8d779c99a0f09baed62d29f201e9c2 Mon Sep 17 00:00:00 2001 From: Svintsov Dmitry Date: Thu, 24 Mar 2016 17:15:10 +0500 Subject: mxu11x0: init at 1.3.11 --- lib/maintainers.nix | 1 + pkgs/os-specific/linux/mxu11x0/default.nix | 38 ++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 41 insertions(+) create mode 100644 pkgs/os-specific/linux/mxu11x0/default.nix (limited to 'pkgs/os-specific/linux') diff --git a/lib/maintainers.nix b/lib/maintainers.nix index c3ae1a5ef70..cbf7e02d3f4 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -349,6 +349,7 @@ tv = "Tomislav Viljetić "; tvestelind = "Tomas Vestelind "; twey = "James ‘Twey’ Kay "; + uralbash = "Svintsov Dmitry "; urkud = "Yury G. Kudryashov "; vandenoever = "Jos van den Oever "; vanzef = "Ivan Solyankin "; diff --git a/pkgs/os-specific/linux/mxu11x0/default.nix b/pkgs/os-specific/linux/mxu11x0/default.nix new file mode 100644 index 00000000000..4af40432403 --- /dev/null +++ b/pkgs/os-specific/linux/mxu11x0/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchFromGitHub, kernel }: + +# it doesn't compile anymore on 3.14 +assert stdenv.lib.versionAtLeast kernel.version "3.18"; + +stdenv.mkDerivation { + name = "mxu11x0-1.3.11-${kernel.version}"; + + src = fetchFromGitHub { + owner = "ellysh"; + repo = "mxu11x0"; + rev = "de54053d6f297785d77aba9e9c880001519ffddf"; + sha256 = "1zmqanw22pgaj3b3lnciq33w6svm5ngg6g0k5xxwwijixg8ri3lf"; + }; + + preBuild = '' + sed -i -e "s/\$(uname -r).*/${kernel.modDirVersion}/g" driver/mxconf + sed -i -e "s/\$(shell uname -r).*/${kernel.modDirVersion}/g" driver/Makefile + sed -i -e 's|/lib/modules|${kernel.dev}/lib/modules|' driver/mxconf + sed -i -e 's|/lib/modules|${kernel.dev}/lib/modules|' driver/Makefile + ''; + installPhase = '' + install -v -D -m 644 ./driver/mxu11x0.ko "$out/lib/modules/${kernel.modDirVersion}/kernel/drivers/usb/serial/mxu11x0.ko" + install -v -D -m 644 ./driver/mxu11x0.ko "$out/lib/modules/${kernel.modDirVersion}/misc/mxu11x0.ko" + ''; + + dontStrip = true; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + description = "MOXA UPort 11x0 USB to Serial Hub driver"; + homepage = "https://github.com/ellysh/mxu11x0"; + license = licenses.gpl1; + maintainers = with maintainers; [ uralbash ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d4687af1ef6..83dd2b70a9f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10661,6 +10661,8 @@ let mba6x_bl = callPackage ../os-specific/linux/mba6x_bl { }; + mxu11x0 = callPackage ../os-specific/linux/mxu11x0 { }; + /* compiles but has to be integrated into the kernel somehow Let's have it uncommented and finish it.. */ -- cgit 1.4.1 From 89c6b3c11ad68c226d2a388a154cb616b42a9bc3 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sat, 26 Mar 2016 18:01:30 +0100 Subject: perf: fix build https://hydra.nixos.org/build/33553564/nixlog/1/raw --- pkgs/os-specific/linux/kernel/perf.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix index 1e5c64ccb8a..ad80d2ed93c 100644 --- a/pkgs/os-specific/linux/kernel/perf.nix +++ b/pkgs/os-specific/linux/kernel/perf.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation { # Note: we don't add elfutils to buildInputs, since it provides a # bad `ld' and other stuff. - NIX_CFLAGS_COMPILE = "-I${elfutils}/include -Wno-error=cpp"; + NIX_CFLAGS_COMPILE = "-I${elfutils}/include -Wno-error=cpp -Wno-error=bool-compare"; NIX_CFLAGS_LINK = "-L${elfutils}/lib"; installFlags = "install install-man ASCIIDOC8=1"; -- cgit 1.4.1 From 8f5db83d9931900974f000288c0571928c5e2ead Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sat, 26 Mar 2016 19:19:47 +0100 Subject: rtl8723bs: only works with kernel 3.19 and later See e.g., https://hydra.nixos.org/build/33512583/nixlog/1/raw --- pkgs/os-specific/linux/rtl8723bs/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/rtl8723bs/default.nix b/pkgs/os-specific/linux/rtl8723bs/default.nix index 1739ac1faa7..6d55c5522f4 100644 --- a/pkgs/os-specific/linux/rtl8723bs/default.nix +++ b/pkgs/os-specific/linux/rtl8723bs/default.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/hadess/rtl8723bs"; license = stdenv.lib.licenses.gpl2; platforms = [ "x86_64-linux" "i686-linux" ]; + broken = !stdenv.lib.versionAtLeast kernel.version "3.19"; }; } -- cgit 1.4.1 From eeca73dfaca3d02996c0baf90f6f022ec93330e8 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sat, 26 Mar 2016 20:22:50 +0100 Subject: jool: mark broken for kernel versions > 4.3 All hydra builds for kernel version >4.3 fail; the build failure indicates changes to the kernel API used by the package. --- pkgs/os-specific/linux/jool/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/jool/default.nix b/pkgs/os-specific/linux/jool/default.nix index fdb2f041a65..389dcc22053 100644 --- a/pkgs/os-specific/linux/jool/default.nix +++ b/pkgs/os-specific/linux/jool/default.nix @@ -26,5 +26,7 @@ stdenv.mkDerivation { description = "Fairly compliant SIIT and Stateful NAT64 for Linux - kernel modules"; platforms = platforms.linux; maintainers = with maintainers; [ fpletz ]; + # kernel version 4.3 is the most recent supported version + broken = builtins.compareVersions kernel.version "4.3" == 1; }; } -- cgit 1.4.1 From 2a097803d4a740c60fd557829c1d3479fbb6c357 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 27 Mar 2016 01:19:43 +0100 Subject: spl: mark as broken on grsec kernels All hydra builds against grsec kernels fail; non-grsec kernels succeed. --- pkgs/os-specific/linux/spl/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/spl/default.nix b/pkgs/os-specific/linux/spl/default.nix index 772ff0b6009..09cdcbf8a24 100644 --- a/pkgs/os-specific/linux/spl/default.nix +++ b/pkgs/os-specific/linux/spl/default.nix @@ -62,5 +62,6 @@ stdenv.mkDerivation rec { platforms = platforms.linux; license = licenses.gpl2Plus; maintainers = with maintainers; [ jcumming wizeman wkennington ]; + broken = (kernel.features.grsecurity or false); }; } -- cgit 1.4.1 From 2182fd52addfdd83dc999fdcb36651aedf5f1877 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 27 Mar 2016 01:21:52 +0100 Subject: rtl8812au: mark as broken on grsec kernels All hydra builds against grsec kernels fail; builds against vanilla kernels work. --- pkgs/os-specific/linux/rtl8812au/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/rtl8812au/default.nix b/pkgs/os-specific/linux/rtl8812au/default.nix index 6279deac60a..bc6a97029c7 100644 --- a/pkgs/os-specific/linux/rtl8812au/default.nix +++ b/pkgs/os-specific/linux/rtl8812au/default.nix @@ -27,5 +27,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/csssuf/rtl8812au"; license = stdenv.lib.licenses.gpl2; platforms = [ "x86_64-linux" "i686-linux" ]; + broken = (kernel.features.grsecurity or false); }; -} \ No newline at end of file +} -- cgit 1.4.1 From 1939256550691bdaa39df3080d9afd1bdf9e6b65 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 27 Mar 2016 01:33:59 +0100 Subject: lttng-modules: mark as broken on grsec All hydra builds against grsec kernels fail; seemingly because the PaX hardening plugins are incompatible with lttng-modules (the code writes to locations marked as read-only). --- pkgs/os-specific/linux/lttng-modules/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/lttng-modules/default.nix b/pkgs/os-specific/linux/lttng-modules/default.nix index dc21176fa3c..91a3464d1fa 100644 --- a/pkgs/os-specific/linux/lttng-modules/default.nix +++ b/pkgs/os-specific/linux/lttng-modules/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { license = with licenses; [ lgpl21 gpl2 mit ]; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; + broken = (kernel.features.grsecurity or false); }; } -- cgit 1.4.1 From 695c2e4ee46c9533f4081fff74c3de157aec9a79 Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Sun, 27 Mar 2016 03:06:58 +0100 Subject: kernel-config: do not use NFSD_PNFS on >=4.6 --- pkgs/os-specific/linux/kernel/common-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index f3dd32386bc..e7e81f4877f 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -210,7 +210,7 @@ with stdenv.lib; OCFS2_DEBUG_MASKLOG? n BTRFS_FS_POSIX_ACL y UBIFS_FS_ADVANCED_COMPR? y - ${optionalString (versionAtLeast version "4.0") '' + ${optionalString (versionAtLeast version "4.0" && versionOlder version "4.6") '' NFSD_PNFS y ''} NFSD_V2_ACL y -- cgit 1.4.1 From 8b7e150bb94fec38451eda20e644bda928caac9d Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Sun, 27 Mar 2016 03:08:24 +0100 Subject: linux-testing: 4.5-rc7 -> 4.6-rc1 --- pkgs/os-specific/linux/kernel/linux-testing.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-testing.nix b/pkgs/os-specific/linux/kernel/linux-testing.nix index 57a825ec0a0..e58230712a9 100644 --- a/pkgs/os-specific/linux/kernel/linux-testing.nix +++ b/pkgs/os-specific/linux/kernel/linux-testing.nix @@ -1,13 +1,13 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { - version = "4.5-rc7"; - modDirVersion = "4.5.0-rc7"; - extraMeta.branch = "4.5"; + version = "4.6-rc1"; + modDirVersion = "4.6.0-rc1"; + extraMeta.branch = "4.6"; src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/testing/linux-${version}.tar.xz"; - sha256 = "0z43s7ccikmqigv4insjvizs3bkx2lgjvzsz5rmmpcga28dz44kq"; + sha256 = "1y73sjd7i48d1c8x52z59imx8g8d00wy67r5666cvwqrq8d407h0"; }; features.iwlwifi = true; -- cgit 1.4.1 From bd9737cc3efd6bd7bc6b75e42f6b8355cbe0139e Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 27 Mar 2016 04:09:06 +0200 Subject: linux_chromiumos: require 64bit build host I noticed that almost all the Hydra build failures were on i686. Sure enough, upstream says that you need an x86_64 machine to build the kernel. --- pkgs/os-specific/linux/kernel/linux-chromiumos-3.14.nix | 3 +++ pkgs/os-specific/linux/kernel/linux-chromiumos-3.18.nix | 3 +++ 2 files changed, 6 insertions(+) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-chromiumos-3.14.nix b/pkgs/os-specific/linux/kernel/linux-chromiumos-3.14.nix index fb52b14c9ae..d781a5b9685 100644 --- a/pkgs/os-specific/linux/kernel/linux-chromiumos-3.14.nix +++ b/pkgs/os-specific/linux/kernel/linux-chromiumos-3.14.nix @@ -1,5 +1,8 @@ { stdenv, fetchgit, perl, buildLinux, ncurses, openssh, ... } @ args: +# ChromiumOS requires a 64bit build host +assert stdenv.is64bit; + import ./generic.nix (args // rec { version = "3.14.0"; extraMeta.branch = "3.14"; diff --git a/pkgs/os-specific/linux/kernel/linux-chromiumos-3.18.nix b/pkgs/os-specific/linux/kernel/linux-chromiumos-3.18.nix index 9ab3f70c97f..fc0997eabdd 100644 --- a/pkgs/os-specific/linux/kernel/linux-chromiumos-3.18.nix +++ b/pkgs/os-specific/linux/kernel/linux-chromiumos-3.18.nix @@ -1,5 +1,8 @@ { stdenv, fetchgit, perl, buildLinux, ncurses, ... } @ args: +# ChromiumOS requires a 64bit build host +assert stdenv.is64bit; + import ./generic.nix (args // rec { version = "3.18.0"; extraMeta.branch = "3.18"; -- cgit 1.4.1 From a452b43ee5fd5e5321b5b5e6a233a118c4efeb07 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 27 Mar 2016 19:46:35 +0200 Subject: lttng-modules: mark as broken on kernel version <3.18 On linux 3.14, we get errors like error: 'struct snd_soc_codec' has no member named 'name' __string( name, codec->CODEC_NAME_FIELD ) indicating that the module is incompatible with the linux API in this kernel version. See https://hydra.nixos.org/build/33102405/nixlog/1/raw --- pkgs/os-specific/linux/lttng-modules/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/lttng-modules/default.nix b/pkgs/os-specific/linux/lttng-modules/default.nix index 91a3464d1fa..f029c6b82be 100644 --- a/pkgs/os-specific/linux/lttng-modules/default.nix +++ b/pkgs/os-specific/linux/lttng-modules/default.nix @@ -25,7 +25,9 @@ stdenv.mkDerivation rec { license = with licenses; [ lgpl21 gpl2 mit ]; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; - broken = (kernel.features.grsecurity or false); + broken = + (builtins.compareVersions kernel.version "3.18" == -1) || + (kernel.features.grsecurity or false); }; } -- cgit 1.4.1 From dd16dcbba4a69b85b64ac043cebee5a8538c4fb4 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 27 Mar 2016 20:05:21 +0200 Subject: linux_grsec_3_14: mark as broken First, The patch is outdated, I failed to find it anywhere in the mirror repos. Second, the build fails, and while it may be "fixed" by ad-hoc patching (it appears to simply need some missing includes), this would mean shipping a potentially insecure software package. Given that the only reason to use grsecurity is security, this is both misleading and exposes users to undue risk. Finally, the build has been broken for quite a long time with no complaints, leading me to believe that the number of actual users is quite low. --- pkgs/os-specific/linux/kernel/linux-grsecurity-3.14.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/linux-grsecurity-3.14.nix b/pkgs/os-specific/linux/kernel/linux-grsecurity-3.14.nix index a67a91b4d0c..da628620764 100644 --- a/pkgs/os-specific/linux/kernel/linux-grsecurity-3.14.nix +++ b/pkgs/os-specific/linux/kernel/linux-grsecurity-3.14.nix @@ -1,5 +1,7 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: +throw "grsecurity stable is no longer supported; please update your configuration" + import ./generic.nix (args // rec { version = "3.14.51"; extraMeta.branch = "3.14"; -- cgit 1.4.1 From d5207802faacaf895fe3f653e9dbef2ae40183d5 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 28 Mar 2016 00:16:38 +0200 Subject: mcelog: 134 -> 135 --- pkgs/os-specific/linux/mcelog/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/mcelog/default.nix b/pkgs/os-specific/linux/mcelog/default.nix index 40368d1c08f..cd2cd511435 100644 --- a/pkgs/os-specific/linux/mcelog/default.nix +++ b/pkgs/os-specific/linux/mcelog/default.nix @@ -2,10 +2,10 @@ stdenv.mkDerivation rec { name = "mcelog-${version}"; - version = "134"; + version = "135"; src = fetchFromGitHub { - sha256 = "1kah9fcbc8m7sncylcd2n4xcbm5dwgyzplm3d7zwgkdg6xgxjlc7"; + sha256 = "1bkbcb2zz7x7q893f1r8bm783jb3v7ww1yqys1hmqzn40hdwfr8p"; rev = "v${version}"; repo = "mcelog"; owner = "andikleen"; -- cgit 1.4.1