mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-22 14:01:41 +03:00
rename examples under ./examples
Apply naming scheme {subsystem}_{test-name}
This commit is contained in:
parent
2b871d2970
commit
e8fe3f803f
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user