Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdate builds and installs but will not run #949

Closed
pmarreck opened this issue May 13, 2024 · 3 comments
Closed

sdate builds and installs but will not run #949

pmarreck opened this issue May 13, 2024 · 3 comments

Comments

@pmarreck
Copy link

pmarreck commented May 13, 2024

I know it's not a particularly useful app but I unfortunately used it as an example to demo nix on macOS with (without trying it first) and of course it is the first binary I've ever installed with nix that didn't work...

bash> nix-shell -p sdate
this path will be fetched (0.00 MiB download, 0.06 MiB unpacked):
  /nix/store/bn53yi5rz17pzc0zvpjpf3aqcv3rc4dg-sdate-0.7
copying path '/nix/store/bn53yi5rz17pzc0zvpjpf3aqcv3rc4dg-sdate-0.7' from 'https://cache.nixos.org'...
bash> sdate
sdate: preload library not found in /nix/store/bn53yi5rz17pzc0zvpjpf3aqcv3rc4dg-sdate-0.7/lib:/nix/store/bn53yi5rz17pzc0zvpjpf3aqcv3rc4dg-sdate-0.7/lib64/libsdate, aborting.

EDIT: Tried it on NixOS and it installed and ran without fail.

@jeeftor
Copy link

jeeftor commented May 15, 2024

First I install nix via determinate ... and I have nix-shell -p xxxx then when I install Darwin I only have: nix shell nixpkgs#xxxx

@joaothallis
Copy link

@pmarreck sdate is nixpkgs package. You should open the issue in this repo: https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/tools/misc/sdate/default.nix#L18

@emilazy
Copy link
Collaborator

emilazy commented Jun 13, 2024

Not a nix-darwin bug, closing. Please do report an issue upstream to Nixpkgs, although I’m not sure to what degree macOS even supports the library preloading functionality that sdate depends on these days.

@emilazy emilazy closed this as completed Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants