neofetch: Fix build on OpenBSD
This commit is contained in:
committed by
Audrey Dutcher
parent
66ca9869c7
commit
3fd798e7b8
@@ -5,7 +5,7 @@
|
||||
bash,
|
||||
makeWrapper,
|
||||
pciutils,
|
||||
x11Support ? true,
|
||||
x11Support ? !stdenvNoCC.isOpenBSD,
|
||||
ueberzug,
|
||||
fetchpatch,
|
||||
}:
|
||||
@@ -55,7 +55,9 @@ stdenvNoCC.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/neofetch \
|
||||
--prefix PATH : ${lib.makeBinPath ([ pciutils ] ++ lib.optional x11Support ueberzug)}
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath (lib.optional (!stdenvNoCC.isOpenBSD) pciutils ++ lib.optional x11Support ueberzug)
|
||||
}
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
|
||||
Reference in New Issue
Block a user