Global Feed Post Login
Replying to Avatar freeborn | ἐλεύθερος | 8r0gwg

#asknostr

...speaking of #NixOS (24.10), SDL2 isn't being recognized somehow?

I have in my configuration.nix:

```

environment.systemPackages = with pkgs; [

...

SDL2

...

];

```

... ```sudo nixos-rebuild switch``` completes without any errors; SDL2 exists on the system (SDL2-2.30.6); but when I try to run sdl2-config I get "sdl2-config is not in your PATH, but you can install it with nix-shell -p SDL2" -- but SDL2 is already in my configuration.nix...

What am I doing wrong? sats for answers/working solutions

Avatar
Nich 11mo ago

What does `which sld2-config` return? I think I’ve encountered something similar with other CLIs.

Reply to this note

Please Login to reply.

Discussion

Avatar
freeborn | ἐλεύθερος | 8r0gwg 11mo ago

to paraphrase, it returns 'nothing there'

Thread collapsed