nix: add basic flake.nix
This just exposes the PostgREST package, not more. The goal is to avoid duplication, so we're re-using only exports from default.nix. Resolves #3026 Supersedes #3105
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
pacman -S postgrest
|
||||
|
||||
.. tab:: Nix
|
||||
.. tab:: Nix via nixpkgs
|
||||
|
||||
You can install PostgREST from nixpkgs.
|
||||
|
||||
@@ -36,6 +36,17 @@
|
||||
|
||||
nix-env -i postgrest
|
||||
|
||||
.. tab:: Nix via flake
|
||||
|
||||
You can install PostgREST via flake.
|
||||
|
||||
.. code:: nix
|
||||
|
||||
{
|
||||
inputs.postgrest.url = "github:postgrest/postgrest";
|
||||
# ...
|
||||
}
|
||||
|
||||
.. group-tab:: Windows
|
||||
|
||||
You can install PostgREST using `Chocolatey <https://community.chocolatey.org/packages/postgrest>`_ or `Scoop <https://github.com/ScoopInstaller/Scoop>`_.
|
||||
|
||||
Reference in New Issue
Block a user