Add on top of default.nix: `with import {};` or simply run as `nix-build ''` (i. e. for nix-build complaining) or rather `nix-build -E 'with import {}; callPackage ./default.nix {}'` (or even import)