nix(flake): add devShell

Adds a devShell to the flake for use with `nix develop`.

Co-authored-by: Andrei Dziahel <develop7@develop7.info>
This commit is contained in:
Wolfgang Walther
2026-03-11 19:50:01 +00:00
co-authored by Andrei Dziahel
parent ca858f7544
commit d5694672a4
2 changed files with 5 additions and 3 deletions
+4
View File
@@ -46,5 +46,9 @@
meta.description = "REST API for any Postgres database";
};
});
devShells = genSystems (postgrest: {
default = import ./shell.nix { inherit postgrest; };
});
};
}
+1 -3
View File
@@ -7,11 +7,9 @@
# We highly recommend that use the PostgREST binary cache by installing cachix
# (https://app.cachix.org/) and running `cachix use postgrest`.
{ docker ? false
, postgrest ? import ./default.nix { }
}:
let
postgrest =
import ./default.nix { };
inherit (postgrest) pkgs;
inherit (pkgs) lib;