Revert "kbd: 2.0.3 -> 2.0.4"

This reverts commit fd43b50877.

```
substitute(): ERROR: Invalid command line argument: /nix/store/8f42syfzv3cpw3jjq96sdzvnclivi783-kbd-2.0.4/bin/unicode_stop
```

@rnhmjoj please check
This commit is contained in:
Frederik Rietdijk
2017-07-28 16:11:10 +02:00
parent b116fa5ff2
commit 00bf3a9dca
3 changed files with 64 additions and 49 deletions
+4 -13
View File
@@ -1,15 +1,12 @@
{ stdenv, fetchurl, autoreconfHook,
gzip, bzip2, pkgconfig, flex, check,
pam, coreutils
}:
{ stdenv, fetchurl, autoreconfHook, gzip, bzip2, pkgconfig, flex, check, pam }:
stdenv.mkDerivation rec {
name = "kbd-${version}";
version = "2.0.4";
version = "2.0.3";
src = fetchurl {
url = "mirror://kernel/linux/utils/kbd/${name}.tar.xz";
sha256 = "124swm93dm4ca0pifgkrand3r9gvj3019d4zkfxsj9djpvv0mnaz";
sha256 = "0ppv953gn2zylcagr4z6zg5y2x93dxrml29plypg6xgbq3hrv2bs";
};
configureFlags = [
@@ -18,7 +15,7 @@ stdenv.mkDerivation rec {
"--disable-nls"
];
patches = [ ./search-paths.patch ];
patches = [ ./console-fix.patch ./search-paths.patch ];
postPatch =
''
@@ -37,12 +34,6 @@ stdenv.mkDerivation rec {
''}
'';
postInstall = ''
substituteInPlace $out/bin/unicode_{start,stop} \
--replace /usr/bin/tty ${coreutils}/bin/tty
'';
buildInputs = [ check pam ];
nativeBuildInputs = [ autoreconfHook pkgconfig flex ];