fastfetch: fix uninitialized error

This commit is contained in:
Austin Horstman 2023-11-02 14:23:36 -05:00
parent 50c3db1d8e
commit c7b48c75c8
No known key found for this signature in database

View File

@ -101,6 +101,11 @@ stdenv.mkDerivation (finalAttrs: {
"-DENABLE_SYSTEM_YYJSON=YES"
];
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}"