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

Adding default.nix for flake-compat #4279

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

arthsmn
Copy link
Collaborator

@arthsmn arthsmn commented Jan 1, 2025

This way non-flake users can access packages with niv or npins easily, and as flake-compat is already a dependency, this is just a "glue". Copy-pasted from here.

An example with npins would be:
npins add github ghostty-org ghostty

and then in the config:

{pkgs, ...}: let
    sources = import ./npins;
    ghostty = import sources.ghostty;
in {
    environment.systemPackages = [ ghostty.packages.${pkgs.system}.default ];
}

@arthsmn arthsmn force-pushed the ghostty-flake-compat branch from 470600b to 180db3c Compare January 1, 2025 15:36
@mitchellh mitchellh merged commit bec9483 into ghostty-org:main Jan 1, 2025
21 checks passed
@github-actions github-actions bot added this to the 1.0.2 milestone Jan 1, 2025
@arthsmn arthsmn deleted the ghostty-flake-compat branch January 1, 2025 21:06
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.

2 participants