Adds ziglibs/diffz to flake.nix (#991)

The flake is not building because it cannot find diffz.
This commit is contained in:
Álan Crístoffer 2023-02-11 23:04:22 +01:00 committed by GitHub
parent 37ca1333ed
commit 4b2882294f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,9 @@
known-folders.url = "github:ziglibs/known-folders";
known-folders.flake = false;
diffz.url = "github:ziglibs/diffz";
diffz.flake = false;
tres.url = "github:ziglibs/tres";
tres.flake = false;
};
@ -38,7 +41,7 @@
dontInstall = true;
buildPhase = ''
mkdir -p $out
zig build install -Dcpu=baseline -Doptimize=ReleaseSafe -Ddata_version=master -Dtres=${tres}/tres.zig -Dknown-folders=${known-folders}/known-folders.zig --prefix $out
zig build install -Dcpu=baseline -Doptimize=ReleaseSafe -Ddata_version=master -Dtres=${tres}/tres.zig -Dknown-folders=${known-folders}/known-folders.zig -Ddiffz=${diffz}/DiffMatchPatch.zig --prefix $out
'';
XDG_CACHE_HOME = ".cache";
};