From 6f8e6b6b2af2ec2eb21a114869dae2cf0f62d49a Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Mon, 29 Jan 2024 15:27:50 +0100 Subject: [PATCH] chore: README --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index d627624..ecea750 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,32 @@ using the [nix package manager](https://nixos.org/). nix build ``` +#### Devenv.nix + +If you have devenv.nix in use, you can add bob to the `devenv.yaml`. + +```yaml +inputs: + nixpkgs: + url: github:nixos/nixpkgs/nixos-23.11 + + bob: + url: git+https://gitlab.schukai.com/oss/bob.git + flake: true + +``` + +In the `devenv.nix` file, you must then add bob under packages. + +```nix +packages = [ + inputs.bob.defaultPackage."${builtins.currentSystem}" +]; +``` + + + + ## Usage ### Template -- GitLab