When trying to test a Roc program in NixOS, one might enounter the following error
Couldn't find libgcc_s.so.1!
You may need to install libgcc
Couldn't find the glibc development files!
We need the objects crti.o, crtn.o, and Scrt1.o
You may need to install the glibc development package
(probably called glibc-dev or glibc-devel)
We looked in the following directories:
/usr/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/usr/lib
/usr/lib64
even though the system has glibc, because NixOS is not fhs compliant.
As a workaround for now, we should recommend users to use nix-build with the default.nix
When trying to test a Roc program in NixOS, one might enounter the following error
even though the system has glibc, because NixOS is not fhs compliant. As a workaround for now, we should recommend users to use nix-build with the default.nix