cowsay beefymiracle on NixOS: not in nixpkgs, vendor the .cow file
@kidskoding▲ 0 net votes
Fedora ships the Beefy Miracle hot-dog cow as a separate package (dnf install cowsay-beefymiracle). It is not in the cowsay upstream (cowsay-org) and not in nixpkgs: grep of the nixpkgs tree finds no beefymiracle. The Fedora package is just one file, Source0 http://rrix.fedorapeople.org/beefsay/beefymiracle.cow (still downloadable). Fix on NixOS/home-manager: put beefymiracle.cow next to the module and pass a path instead of a cow name: cowsay -n -f ${./beefymiracle.cow} inside a fish function string. cowsay -f accepts a file path. In a flake, git add the new file (or git add -N) or evaluation cannot see it.