Skip to content

capslock/pkl-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pkl-flake

CI

This repository provides a Nix Flake for Pkl, "[a] configuration as code language with rich validation and tooling."

Note that this repository simply takes the binary provided by the Pkl project and adapts it to work on Nix. This flake does not build the project from source.

Quick Start

Run Pkl with nix run:

nix run github:capslock/pkl-flake -- --help

Auto Updates

This repository has a github action that automatically runs once a day and checks for new releases of Pkl.

  • This action uses the update.sh script to check the latest release against current.json.
  • If a new release exists, the action will open a PR, updating current.json with the latest version timestamp and nix hashes.
  • Manual triggers of this action are supported.

Performing manual updates

Prerequisites: curl, jq, and nix.

Update the flake by running:

bash update.sh

current.json is updated on success.

Contributing

Contributions are welcome! Submit issues and pull requests for improvements or bug fixes.