The callPackage function was trying to find packages in bsc.self before the self of the input parameters.