⛩️ 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(examples): add readme

Fuwn 4d286505 80694e91

+24
+24
examples/README.md
··· 1 + # Examples 2 + 3 + ## [Nixpkgs](https://github.com/Fuwn/yae/tree/main/examples/nixpkgs) 4 + 5 + This example showcases adding the Nixpkgs unstable branch as a Yae source, 6 + consuming it within an example flake, and mirroring the `hello` package from 7 + Nixpkgs as a flake output. 8 + 9 + Note that the flake has no inputs. This is because Yae directly manages the 10 + Nixpkgs source. 11 + 12 + This example is extremely useful and is intended be adapted to suite the specific 13 + needs of flake-less Nix configurations, like classic Nix shells and flake-less system 14 + configurations. 15 + 16 + ## [Nixpkgs Simple](https://github.com/Fuwn/yae/tree/main/examples/nixpkgs-simple) 17 + 18 + This example is functionally identical to the Nixpkgs example, with the exception 19 + that it utilises `builtins.currentSystem` to populate the `nixpkgs.system` 20 + attribute, requiring the `--impure` command-line flag. 21 + 22 + This example is purely for the sake of example, since in a real-world scenario, 23 + you'd likely use something similar to [flake-utils](https://github.com/numtide/flake-utils) 24 + for multi-system output management and populating the `nixpkgs.system` attribute.