diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af89187af29..3cc4f5619d9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,7 +36,7 @@ * `hydra service: add bazBaz option` * `nginx service: refactor config generation` * Test your changes. If you work with - a) nixpkgs + * nixpkgs * update pkg -> * `nix-env -i pkg-name -f ` * add pkg -> @@ -45,7 +45,7 @@ * _If you don't want to install pkg in you profile_. * `nix-build -A pkg-attribute-name /default.nix` and check results in the folder `result`. It will appear in the same directory where you did `nix-build`. * If you did `nix-env -i pkg-name` you can do `nix-env -e pkg-name` to uninstall it from your system. - b) NixOS and its modules + * NixOS and its modules * You can add new module to your NixOS configuration file (usually it's `/etc/nixos/configuration.nix`. And do `sudo nixos-rebuild test -I nixpkgs= --fast` * If you have commits `pkg-name: oh, forgot to insert whitespace`: squash commits in this case. Use `git rebase -i`.