Revert "kmod-blacklist-ubuntu: 9.3 -> 22.1"

This reverts commit 0c262a639e.
It broke X tests, though it's not clear why ATM.  Discussion:
https://github.com/NixOS/nixpkgs/pull/23890#issuecomment-288528788
This commit is contained in:
Vladimír Čunát 2017-03-22 21:44:06 +01:00
parent b2ba188656
commit 8c410f4b18
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
1 changed files with 8 additions and 9 deletions

View File

@ -1,14 +1,13 @@
{ stdenv, fetchurl, gnugrep, findutils }: { stdenv, fetchurl, gnugrep, findutils }:
let let
version = "22-1.1ubuntu1"; # Zesty version = "3ubuntu1"; # Saucy
in
in stdenv.mkDerivation { stdenv.mkDerivation {
name = "kmod-blacklist-${version}"; name = "kmod-blacklist-${version}";
src = fetchurl { src = fetchurl {
url = "https://launchpad.net/ubuntu/+archive/primary/+files/kmod_${version}.debian.tar.xz"; url = "https://launchpad.net/ubuntu/+archive/primary/+files/kmod_9-${version}.debian.tar.gz";
sha256 = "1k749g707ccb82l4xmrkp53khl71f57cpj9fzd1qyzrz147fjyhi"; sha256 = "0h6h0zw2490iqj9xa2sz4309jyfmcc50jdvkhxa1nw90npxglp67";
}; };
installPhase = '' installPhase = ''
@ -28,9 +27,9 @@ in stdenv.mkDerivation {
--replace " xargs " " ${findutils}/bin/xargs " --replace " xargs " " ${findutils}/bin/xargs "
''; '';
meta = with stdenv.lib; { meta = {
homepage = http://packages.ubuntu.com/source/zesty/kmod; homepage = http://packages.ubuntu.com/source/saucy/kmod;
description = "Linux kernel module blacklists from Ubuntu"; description = "Linux kernel module blacklists from Ubuntu";
platforms = platforms.linux; platforms = stdenv.lib.platforms.linux;
}; };
} }