Conditionally set attribute

Make it use the nixpkgs flake instead.