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:
co-authored by
Andrei Dziahel
parent
ca858f7544
commit
d5694672a4
@@ -46,5 +46,9 @@
|
||||
meta.description = "REST API for any Postgres database";
|
||||
};
|
||||
});
|
||||
|
||||
devShells = genSystems (postgrest: {
|
||||
default = import ./shell.nix { inherit postgrest; };
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user