tpacpi-bat: fix path to cat

This commit is contained in:
Franz Pletz 2018-07-15 19:01:59 +02:00
parent 02ce906d8a
commit c0fd62dab4
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, perl, kmod }: { stdenv, fetchFromGitHub, perl, kmod, coreutils }:
# Requires the acpi_call kernel module in order to run. # Requires the acpi_call kernel module in order to run.
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
''; '';
postPatch = '' postPatch = ''
substituteInPlace tpacpi-bat --replace modprobe ${kmod}/bin/modprobe substituteInPlace tpacpi-bat \
--replace modprobe ${kmod}/bin/modprobe \
--replace cat ${coreutils}/bin/cat
''; '';
meta = { meta = {