mitchmindtree / tidalcycles.nix

A Nix flake for Tidal Cycles.
GNU General Public License v3.0
61 stars 12 forks source link

Old glibc #17

Open puffnfresh opened 1 year ago

puffnfresh commented 1 year ago

I'm using NixOS unstable and ran into an issue trying to run superdirt-start. It turns out the nixpkgs in this flake is kinda old now and things don't like the incompatible glibc:

$ nix develop github:mitchmindtree/tidalcycles.nix 
nix-shell $ PIPEWIRE_DEBUG=4 superdirt-start
...
[I][04206.791568] pw.module    | [   impl-module.c:  162 pw_context_load_module()] 0x6a0310: name:libpipewire-module-protocol-native args:(null)
[D][04206.791572] pw.module    | [   impl-module.c:  167 pw_context_load_module()] moduledir set to: /nix/store/ysr4xhdlaam1cgbgmi638nznaxqg36ia-pipewire-0.3.67-lib/lib/pipewire-0.3
[D][04206.791582] pw.module    | [   impl-module.c:  177 pw_context_load_module()] trying to load module: libpipewire-module-protocol-native (/nix/store/ysr4xhdlaam1cgbgmi638nznaxqg36ia-pipewire-0.3.67-lib/lib/pipewire-0.3/libpipewire-module-protocol-native.so) args((null))
[D][04206.791838] pw.module    | [   impl-module.c:  183 pw_context_load_module()] open failed: /nix/store/fz33c1mfi2krpg1lwzizfw28kj705yg0-glibc-2.34-210/lib/libc.so.6: version `GLIBC_2.35' not found (required by /nix/store/578jgzbanaf3bfk55dfh418j9pbdsn9k-systemd-minimal-253.1/lib/libsystemd.so.0)
[I][04206.791844] pw.module    | [   impl-module.c:  262 pw_context_load_module()] No module "libpipewire-module-protocol-native" was found
[E][04206.791848] pw.conf      | [          conf.c:  574 load_module()] 0x6a0310: could not load mandatory module "libpipewire-module-protocol-native": No such file or directory
...

Overriding the nixpkgs with the version from my NixOS install makes things work great:

$ nix develop --override-input nixpkgs $(readlink /nix/var/nix/profiles/per-user/root/channels/nixos) github:mitchmindtree/tidalcycles.nix

Maybe something like this should be included in the README.