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

Convert to Nix flakes #20

Merged
merged 7 commits into from
Dec 13, 2023
Merged

Convert to Nix flakes #20

merged 7 commits into from
Dec 13, 2023

Conversation

gdamjan
Copy link
Owner

@gdamjan gdamjan commented Feb 25, 2023

https://nixos.wiki/wiki/Flakes

"Flakes" don't assume impure global nixpkgs, rather refer to them directly via the combination of inputs in flake.nix and the flake.lock file.

  • default.nix renamed to build.nix with minimal changes
  • the import of tt-rss.nix was moved into the flake

github action changes:

  • bump to v24
  • no need for nix_path, since the flake refers to the exact nixpkgs
  • added flake check
  • flakes are automatically supported by the action, so no changes were required

@gdamjan gdamjan marked this pull request as ready for review February 25, 2023 20:08
@gdamjan gdamjan changed the title test flake Convert to Nix flakes Feb 25, 2023
.github/workflows/ci.yml Outdated Show resolved Hide resolved
flake.nix Outdated Show resolved Hide resolved
@gdamjan gdamjan merged commit 586e4e6 into main Dec 13, 2023
1 check passed
@gdamjan gdamjan deleted the flake branch December 13, 2023 14:17
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.

1 participant