tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
fastfetch: fix uninitialized error
Austin Horstman
2 years ago
c7b48c75
50c3db1d
+5
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
fastfetch
default.nix
+5
pkgs/tools/misc/fastfetch/default.nix
···
101
"-DENABLE_SYSTEM_YYJSON=YES"
102
];
103
0
0
0
0
0
104
postInstall = ''
105
wrapProgram $out/bin/fastfetch \
106
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}"
···
101
"-DENABLE_SYSTEM_YYJSON=YES"
102
];
103
104
+
env.NIX_CFLAGS_COMPILE = toString [
105
+
# Needed with GCC 12
106
+
"-Wno-error=uninitialized"
107
+
];
108
+
109
postInstall = ''
110
wrapProgram $out/bin/fastfetch \
111
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}"