Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NixOS install instructions #77

Merged
merged 3 commits into from Feb 20, 2024

Conversation

leifhelm
Copy link
Contributor

@leifhelm leifhelm commented Feb 19, 2024

Hi, I package cfonts for nix.
This PR add one of the options of installing it on an NixOS system.
Creating a shell with cfonts on $PATH can be done like this

nix-shell -p cfonts

Simply running it could be done with:

nix run nixpkgs#cfonts

If the experiential features flakes and nix-command are enabled.

@dominikwilkowski
Copy link
Owner

Thank you for this.
What needs to happen when an update it pushed for cfonts? Will this nix pick up the update automatically? Is there a place for the recipe to be maintained? Like AUR has it's own repo)
Also I assume you're using the rust version yes?

@leifhelm
Copy link
Contributor Author

leifhelm commented Feb 20, 2024

What needs to happen when an update it pushed for cfonts?

The version and the hash have to be updated here. I typically update the version, build it and update any mismatching hashes. A typical PR looks like this

Will this nix pick up the update automatically?

No. When I get the notification of a release I update it manually.

Also I assume you're using the rust version yes?

Yes it is the rust version.

@dominikwilkowski
Copy link
Owner

dominikwilkowski commented Feb 20, 2024

This is great. Thank you
Last request: Can you move it between Fedora and MacPorts?
Feels more like a distribution level thing.

@dominikwilkowski dominikwilkowski merged commit 1a807b0 into dominikwilkowski:released Feb 20, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants