-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
description = ''Portable "Tiny Tiny Rss" service run by uwsgi-php and built with Nix''; | ||
|
||
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-23.11; | ||
|
||
outputs = { self, nixpkgs, ... }: | ||
let | ||
pkgs = import nixpkgs { system = "x86_64-linux"; }; | ||
ttRss = (import ./tt-rss.nix { inherit pkgs; }); | ||
in { | ||
packages.x86_64-linux.default = (import ./build.nix { inherit pkgs ttRss; withSystemd = false; }); | ||
}; | ||
} |