1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

Improve hacking.md

- Refer to current version in readme
- Split into flakes and non-flakes section
- Change order to move nix-build to the end, since people often start
  with it in the beginning.
- Use proper "Note" syntax
- Add notes about editor integration
- Move information about target platforms and stdenvs into separate
  sections

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Alexander Bantyev <alexander.bantyev@tweag.io>
Co-authored-by: Théophane Hufschmitt <theophane.hufschmitt@tweag.io>
This commit is contained in:
Yorick van Pelt 2022-11-25 14:47:05 +01:00 committed by Alexander Bantyev
parent 012ddaa322
commit f2e427942d
No known key found for this signature in database
GPG key ID: E081FF12ADCB4AD5
3 changed files with 139 additions and 33 deletions

View file

@ -701,7 +701,10 @@
outputs = [ "out" "dev" "doc" ];
nativeBuildInputs = nativeBuildDeps ++ [ clang-tools bear ];
nativeBuildInputs = nativeBuildDeps
++ (lib.optionals
nixpkgsFor.${system}.${stdenv}.cc.isClang
[ bear clang-tools ]);
buildInputs = buildDeps ++ propagatedDeps ++ awsDeps;
inherit configureFlags;