Lin Xianyi 2024-02-23 16:57:14 +08:00
parent cbc4211f0a
commit 9ce9840119

View File

@ -43,13 +43,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "fastfetch";
version = "2.8.3";
version = "2.8.5";
src = fetchFromGitHub {
owner = "fastfetch-cli";
repo = "fastfetch";
rev = finalAttrs.version;
hash = "sha256-W6SmKyTBR0cXAkgcbbM1lEiHFanqCaa2lhAb+zQP/mg=";
hash = "sha256-aIGT2NwtkKJ1uTgy4rvFegzJadRuGkki63gpnVCPKbw=";
};
outputs = [ "out" "man" ];
@ -131,11 +131,6 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "ENABLE_XRANDR" x11Support)
];
env.NIX_CFLAGS_COMPILE = toString [
# Needed with GCC 12
"-Wno-error=uninitialized"
];
postInstall = ''
wrapProgram $out/bin/fastfetch \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}"