petrockette@felicette:~$ nix run ./src/petockette/nix/cowfortune/
_____________________________________
/ Two wrights don’t make a rong, they \
\ make an airplane. Or bicycles. /
petrockette@felicette:~$ nix run src/petrockette/nix/cowfortune/ error: GitHub URL ‘flake:src/petrockette/nix/cowfortune/’ is invalid
Should nix be so closely tied to GitHub? On principle, I would prefer it to be both revision control system neutral (I prefer Darcs to Git), but maybe more importantly, repository neutral, internal or external.
Perhaps it made more sense when GitHub was independent and not being scraped and stolen by commercial LLM companies and served as a common resource for sharing, but I wonder if that time has passed both with disregard for open source licences and unremittent LLM slop.
I am suggesting that GitHub, and even git, should require explicit parameters as everything else does, particularly as it has become unreliable from what I guess is Microsoft pushing vibe coding
Granted, in whatever version of nix that is it probably is less misleading. It’ll have to be a good 7 years or something out of date, though.
This doesn’t really apply to nix itself, though, right? NixOS and nixpkgs are tied into the platform pretty hard because they’re developed on it, so using the ecosystem without touching GH is hard, but nix itself doesn’t really rely on it as anything but a git forge.
Not necessarily to nix the program, though seeing the broader official ecosystem, sure, it is tightly tied to GH, you can not move nix to codeberg while keeping everything else on GH.
At first glance, it seems to be a miswritten or oversimplified message. It is emitted when the flake URL has (zero? or) more than three parts, regardless of the forge used.