tpacpi-bat: fix path to cat
This commit is contained in:
parent
02ce906d8a
commit
c0fd62dab4
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user