i have something i want to compile with gcc10 so normal approach would be foo = callPackage path/to/package { stdenv = gcc10Stdenv; } in this scenario i have foo = libsForQt5.callPackage path/to/package { } and i'm not sure how to compile with gcc 10 search results haven't come back with anything i'm able to use yet any help?