snow: fix build

This commit is contained in:
Ben Siraphob 2024-04-21 21:30:43 -04:00
parent 666bb4ea05
commit e2173b5f14
No known key found for this signature in database
GPG key ID: 45F0E5D788143267

View file

@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "0r9q45y55z4i0askkxmxrx0jr1620ypd870vz0hx2a6n9skimdy0"; sha256 = "0r9q45y55z4i0askkxmxrx0jr1620ypd870vz0hx2a6n9skimdy0";
}; };
makeFlags = [ "CFLAGS=-O2" ]; preBuild = ''
makeFlagsArray+=(CFLAGS="-O2 -std=c89")
'';
installPhase = '' installPhase = ''
install -Dm755 snow -t $out/bin install -Dm755 snow -t $out/bin