Skip to content

Commit

Permalink
Merge pull request #11 from dpc/nix-flakes
Browse files Browse the repository at this point in the history
Add a Nix Flake
  • Loading branch information
mfontanini authored Oct 19, 2023
2 parents a736c46 + 9306f6e commit 0a7d3d6
Show file tree
Hide file tree
Showing 4 changed files with 442 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ paru/yay -S presenterm-bin # for binary
paru/yay -S presenterm-git # for Building from source
```

## Nix Flake

If you're a Nix user a Nix Flake is available:

```shell
nix run github:mfontanini/presenterm
```

# Features

* Define your presentation in a single markdown file.
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn main() -> io::Result<()> {
output_file.write_all(format!("(\"{theme_name}\", {contents:?}.as_slice()),\n").as_bytes())?;

// Rebuild if this theme changes.
println!("cargo:rerun-if-changed={path:?}");
println!("cargo:rerun-if-changed={}", path.display());
}
output_file.write_all(b"]));\n")?;
Ok(())
Expand Down
373 changes: 373 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0a7d3d6

Please sign in to comment.