refind: install man pages

This commit is contained in:
Qyriad
2025-09-01 16:12:16 +02:00
parent 0956cfde82
commit dd7ee73d7a
+12 -1
View File
@@ -9,6 +9,7 @@
withSbsigntool ? false, # currently, cross compiling sbsigntool is broken, so default to false
sbsigntool,
makeWrapper,
installShellFiles,
}:
let
@@ -45,6 +46,11 @@ stdenv.mkDerivation rec {
hash = "sha256-99k86A2na4bFZygeoiW2qHkHzob/dyM8k1elIsEVyPA=";
};
outputs = [
"out"
"man"
];
patches = [
# Removes hardcoded toolchain for aarch64, allowing successful aarch64 builds.
./0001-toolchain.patch
@@ -53,7 +59,11 @@ stdenv.mkDerivation rec {
./0002-preserve-dates.patch
];
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [
makeWrapper
installShellFiles
];
buildInputs = [ gnu-efi_3 ];
hardeningDisable = [ "stackprotector" ];
@@ -111,6 +121,7 @@ stdenv.mkDerivation rec {
# docs
install -D -m0644 docs/refind/* $out/share/refind/docs/html/
install -D -m0644 docs/Styles/* $out/share/refind/docs/Styles/
installManPage docs/man/*.8
install -D -m0644 README.txt $out/share/refind/docs/README.txt
install -D -m0644 NEWS.txt $out/share/refind/docs/NEWS.txt
install -D -m0644 BUILDING.txt $out/share/refind/docs/BUILDING.txt