Closed yakimant closed 1 month ago
Related issue: https://github.com/nix-community/nixGL/issues/123
NixOS 20.09 is EOL since years. You should probably update to a newer version.
We need to use that one due to glibc
compatibility.
Then you probably want to upgrade your base distro.
nixGL is certainly not supporting a NixOS version that old.
The thing is we want to build an app with old glibc
so it can run on most distros.
Currently the oldest supported Ubuntu LTS
is 20.04
, that's why we are stuck with building with nixpkgs
20.09
.
So people could run our app on Ubuntu LTS 20.04
.
I was pretty sure you will not fix the issue. But still usefull to document the workaround.
Pinning https://github.com/nix-community/nixGL/commit/643e730efb981ffaf8478f441ec9b9aeea1c89f5 works with nixpkgs 20.09
.
You can close the issue.
What you are doing is unsupported by NixOS upstream and inherently insecure as 20.09 didn't receive an security update in 3.5 years. There are probably many high targeted CVEs since then. You are putting your users at risk with such a prebuilt binary.
I also don't think we should document such an old nixpkgs version. People should not use it anymore.
PS I can't close issues here.
That's a good point, thank you! So it will be compatibility vs security.
We need old nixpkgs with old
glibc
to run a program on old Linux distributions.Probably
nixGL
worked before, will bisect.