Handle dependency resolution in nixpkgs