sioyek: Provide deprecated GL_CLAMP macro
This commit is contained in:
parent
978ce71f17
commit
7e903c3d53
1 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{ nixpkgs, ... }: final: prev:
|
||||
let
|
||||
inherit (nixpkgs.lib) optionalAttrs;
|
||||
inherit (nixpkgs.lib) optionalAttrs toList;
|
||||
inherit (prev.stdenv) hostPlatform;
|
||||
in {
|
||||
redis = prev.redis.overrideAttrs ({
|
||||
|
@ -22,6 +22,13 @@ in {
|
|||
});
|
||||
};
|
||||
};
|
||||
|
||||
sioyek = prev.sioyek.overrideAttrs (prevAttrs: {
|
||||
env = prevAttrs.env or { } // {
|
||||
NIX_CFLAGS_COMPILE = toList prevAttrs.env.NIX_CFLAGS_COMPILE or [ ]
|
||||
++ [ "-DGL_CLAMP=GL_CLAMP_TO_EDGE" ] |> toString;
|
||||
};
|
||||
});
|
||||
} // optionalAttrs hostPlatform.isRiscV64 ({
|
||||
boehmgc = prev.boehmgc.overrideAttrs (prevAttrs: {
|
||||
postPatch = prevAttrs.postPatch or "" + ''
|
||||
|
|
Loading…
Reference in a new issue