xzfc / cached-nix-shell

Instant startup time for nix-shell
https://xzfc.github.io/cached-nix-shell/cached-nix-shell.1
The Unlicense
203 stars 16 forks source link

version `GLIBC_2.33` not found #24

Closed willruggiano closed 2 years ago

willruggiano commented 2 years ago

Using the example hello world shell script from the README;

#! /usr/bin/env cached-nix-shell
#! nix-shell -i python39 -p python

print("hello world")

gives me the error:

$ ./hello.sh
cached-nix-shell: updating cache
nix-shell: /nix/store/xxx-glibc-2.32-48/lib/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/xxx-cached-nix-shell-0.1.4/lib/trace-nix.so)
cached-nix-shell: nix-shell: exit status: 1
xzfc commented 2 years ago

Thanks for the report. Should be fixed in the current master (8501a98).