⛩️ Powerful yet Minimal Nix Dependency Manager
flake flakes home-manager nixos go nix dependency dependencies
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs(readme): expand on installation instructions

Fuwn f2edc20f 1108cb82

+29 -4
+29 -4
README.md
··· 71 71 72 72 ## Installation 73 73 74 - Follow the installation instructions at [Tsutsumi](https://github.com/Fuwn/tsutsumi), 75 - which provides both flake and flake-less installation options. 74 + You can either install Yae through the flake that this repository exposes or 75 + through [Tsutsumi](https://github.com/Fuwn/tsutsumi). 76 + 77 + [Tsutsumi](https://github.com/Fuwn/tsutsumi) provides both flake and flake-less installation 78 + options, while this repsitory only provides installation support through flakes using the 79 + exported `inputs.yae.packages.${pkgs.system}.yae` package. 80 + 81 + <details closed> 82 + <summary>Click here to see a minimal Nix flake that exposes a development shell with Yae bundled.</summary> 83 + 84 + ```nix 85 + # Enter the development shell using `nix develop --impure` (impure is used here because `nixpkgs` internally 86 + # assigns `builtins.currentSystem` to `nixpkgs.system` for the sake of simplicity in this example) 87 + { 88 + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 89 + 90 + inputs.tsutsumi = { 91 + url = "github:Fuwn/tsutsumi"; 92 + inputs.nixpkgs.follows = "nixpkgs"; 93 + }; 76 94 77 - Alternatively, without flake-less support, install the 78 - `inputs.yae.packages.${pkgs.system}.yae` package exposed by this flake. 95 + outputs = { nixpkgs, tsutsumi, self }: 96 + let pkgs = import nixpkgs { inherit self; }; in { 97 + devShells.${pkgs.system}.default = pkgs.mkShell { 98 + buildInputs = [ tsutsumi.packages.${pkgs.system}.yae ]; 99 + }; 100 + }; 101 + } 102 + ``` 103 + </details> 79 104 80 105 ### Integrating with Nix 81 106