rename examples under ./examples

Apply naming scheme {subsystem}_{test-name}
This commit is contained in:
DavHau 2022-07-22 16:02:21 +02:00
parent 2b871d2970
commit e8fe3f803f
23 changed files with 4 additions and 4 deletions

View File

@ -123,7 +123,7 @@ Extensive Example `flake.nix`:
}
```
An example for instancing dream2nix per pkgs and using it to create outputs can be found at [`examples/d2n-init-pkgs`](./examples/d2n-init-pkgs/flake.nix).
An example for instancing dream2nix per pkgs and using it to create outputs can be found at [`examples_d2n-init-pkgs`](./examples/_d2n-init-pkgs/flake.nix).
### Documentation

View File

@ -22,7 +22,7 @@ this file should look like this:
}
```
See the [`d2n-extended-new-subsystem` example](https://github.com/nix-community/dream2nix/tree/main/examples/d2n-extended-new-subsystem) for a basic example.
See the [`d2n-extended-new-subsystem` example](https://github.com/nix-community/dream2nix/tree/main/examples/_d2n-extended-new-subsystem) for a basic example.
## Declare `extra`s as an attribute set
@ -48,7 +48,7 @@ dream2nix.lib.init {
note: you can't declare modules using functions here.
This is because the `config` may need to be serialized to JSON and passed around in impure situations (mostly impure translators).
See the [`d2n-extended` example](https://github.com/nix-community/dream2nix/tree/main/examples/d2n-extended/flake.nix) for a basic example.
See the [`d2n-extended` example](https://github.com/nix-community/dream2nix/tree/main/examples/_d2n-extended/flake.nix) for a basic example.
## Compose multiple different `extra`s

View File

@ -5,7 +5,7 @@ This section documents the Python subsystem.
## Examples
flake.nix
```nix
{{#include ../../../examples/python/flake.nix}}
{{#include ../../../examples/python_aiohttp/flake.nix}}
```
## Translators