mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
fastfetch: fix uninitialized error
This commit is contained in:
parent
50c3db1d8e
commit
c7b48c75c8
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user