2021-04-23 06:46:02 +02:00
|
|
|
# Coding conventions {#chap-conventions}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).
|
2021-04-23 06:46:02 +02:00
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
## Syntax {#sec-syntax}
|
2021-10-05 23:13:26 +02:00
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).
|
2021-04-23 06:46:02 +02:00
|
|
|
|
|
|
|
## Package naming {#sec-package-naming}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-23 06:46:02 +02:00
|
|
|
|
|
|
|
## File naming and organisation {#sec-organisation}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).
|
2021-04-23 06:46:02 +02:00
|
|
|
|
|
|
|
### Versioning {#sec-versioning}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-23 06:46:02 +02:00
|
|
|
|
|
|
|
## Fetching Sources {#sec-sources}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-23 06:46:02 +02:00
|
|
|
|
|
|
|
## Obtaining source hash {#sec-source-hashes}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-23 06:46:02 +02:00
|
|
|
|
|
|
|
### Obtaining hashes securely {#sec-source-hashes-security}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-23 06:46:02 +02:00
|
|
|
|
|
|
|
## Patches {#sec-patches}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-24 17:01:05 +02:00
|
|
|
|
|
|
|
## Package tests {#sec-package-tests}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-24 17:01:05 +02:00
|
|
|
|
2021-04-17 19:02:16 +02:00
|
|
|
### Writing inline package tests {#ssec-inline-package-tests-writing}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-17 19:02:16 +02:00
|
|
|
|
|
|
|
### Writing larger package tests {#ssec-package-tests-writing}
|
2021-04-24 17:01:05 +02:00
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-24 17:01:05 +02:00
|
|
|
|
|
|
|
### Running package tests {#ssec-package-tests-running}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-04-24 17:01:05 +02:00
|
|
|
|
|
|
|
### Examples of package tests {#ssec-package-tests-examples}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2021-06-26 01:31:10 +02:00
|
|
|
|
|
|
|
### Linking NixOS module tests to a package {#ssec-nixos-tests-linking}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|
2022-12-05 16:24:52 +01:00
|
|
|
|
|
|
|
### Import From Derivation {#ssec-import-from-derivation}
|
|
|
|
|
2023-07-25 17:48:35 +02:00
|
|
|
This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).
|