NoAvailableAdapter error - Rust project with Nannou

Hey, im on NixOs and this is my system pretty much GitHub - Astodialo/.dotfiles: ma stuff I’m trying to build a Rust project with Nannou as a dependency. I’m doing that inside devshell created from this flake { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - Pastebin.com
When I do cargo run, I get a screen pop up and close immediately and then get the error could not build default app window: NoAvailableAdapter