Skip to content

Commit d21c3de

Browse files
authored
lua.pkgs.cqueues: fix cross compilation (NixOS#480192)
2 parents cb1d39a + 9a3ee42 commit d21c3de

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkgs/development/lua-modules/overrides.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ in
127127
}
128128
];
129129

130+
env = old.env // {
131+
NIX_CFLAGS_COMPILE = "-std=gnu17"; # for gcc15
132+
};
133+
130134
# Upstream rockspec is pointlessly broken into separate rockspecs, per Lua
131135
# version, which doesn't work well for us, so modify it
132136
postConfigure =

0 commit comments

Comments
 (0)