mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
tlp: enable tests
This commit is contained in:
parent
88aad172ab
commit
c1c03ae211
@ -1,6 +1,7 @@
|
||||
{ stdenv, lib, fetchFromGitHub, perl, makeWrapper, file, systemd, iw, rfkill
|
||||
, hdparm, ethtool, inetutils , kmod, pciutils, smartmontools
|
||||
, x86_energy_perf_policy, gawk, gnugrep, coreutils, utillinux
|
||||
, checkbashisms, shellcheck
|
||||
, enableRDW ? false, networkmanager
|
||||
}:
|
||||
|
||||
@ -46,6 +47,14 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
installTargets = [ "install-tlp" "install-man" ] ++ stdenv.lib.optional enableRDW "install-rdw";
|
||||
|
||||
checkInputs = [
|
||||
checkbashisms
|
||||
shellcheck
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = [ "checkall" ];
|
||||
|
||||
postInstall = ''
|
||||
cp -r $out/$out/* $out
|
||||
rm -rf $out/$(echo "$NIX_STORE" | cut -d "/" -f2)
|
||||
|
Loading…
Reference in New Issue
Block a user