1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
Commit graph

1251 commits

Author SHA1 Message Date
alex d8066b64e7 better motivate custom installPhase 2023-08-10 10:42:45 -05:00
alex a0091bac24 improve discussion of phase hooks 2023-08-10 10:42:45 -05:00
alex 44d8c15f3e expand section on adding Xlib dependency 2023-08-10 10:42:45 -05:00
alex 4f6d0fa176 improve end of icat packaging, add ls output 2023-08-10 10:42:45 -05:00
alex f1dcba406d remove section building package without phase hooks 2023-08-10 10:42:45 -05:00
alex 12e41e3a40 remove contributing, metadata, and devshell sections 2023-08-10 10:42:45 -05:00
alex f17f33ec69 pkg-config no longer needed 2023-08-10 10:42:45 -05:00
alex 5ee2b986c9 remove description of nixpkgs import/callPackage expression 2023-08-10 10:42:45 -05:00
alex 319593ae83 shorten some derivation examples and fix whitespace 2023-08-10 10:42:45 -05:00
alex 5f6280bb39 different source means different console output 2023-08-10 10:42:45 -05:00
alex 42562620f3 use nix-prefetch-url earlier 2023-08-10 10:42:45 -05:00
alex a4233f2d8b use latest release instead of master 2023-08-10 10:42:45 -05:00
alex c70df9511c move dependencies to derivation inputs, because we use callPackage 2023-08-10 10:42:45 -05:00
alex 0797d1cd4e remove namespace errors 2023-08-10 10:42:45 -05:00
alex a1eea0bf77 the stdenv is doing the work, not nix itself 2023-08-10 10:42:45 -05:00
alex e88e060e67 let the manual more-verbosely explain fetchFromGitHub arguments 2023-08-10 10:42:45 -05:00
alex f1d6bf20bd note what callPackage does 2023-08-10 10:42:45 -05:00
alex bbb4a130b6 use lib.fakeSha256 instead of a string of 53 zeroes 2023-08-10 10:42:45 -05:00
alex 77daebd127 rephrase fetchTarball introduction 2023-08-10 10:42:45 -05:00
alex ce6bd9a913 add explanation of what "package" means here 2023-08-10 10:42:45 -05:00
alex 0a211946de remove contributing to nixpkgs section 2023-08-10 10:42:45 -05:00
alex 0c2c29e27d mention that the stdenv automates a lot of this 2023-08-10 10:42:45 -05:00
alex 62ea6335c3 add draft of packaging existing software tutorial 2023-08-10 10:42:45 -05:00
Zach Mitchell, PhD 31f269d2d9
Merge pull request #671 from zmitchell/shell-tutorial
Add shell.nix tutorial
2023-08-10 09:23:52 -06:00
Zach Mitchell 56429a2b66 Update with docs team review 2023-08-10 09:20:30 -06:00
Zach Mitchell a0a4cd8968 Update with review comments 2023-08-09 22:06:21 -06:00
Alexander Groleau 9b7686e41b fix broken link to experimental-features 2023-08-08 13:42:15 -05:00
Alexander Groleau 58464f3967 fix broken anchor 2023-08-07 10:29:05 -05:00
Silvan Mosberger 9c2ed679d8
Merge pull request #668 from NixOS/yuki_is_bored/diff
Add styles for diffs
2023-08-03 16:07:54 +02:00
Zach Mitchell 5b29e71e43 Add shell.nix tutorial 2023-08-02 21:57:38 -06:00
Yuki Langley ca9b433e1a Add styles for diffs
Closes https://github.com/NixOS/nix.dev/issues/644
2023-08-02 12:08:25 +07:00
Jeremy fd9c34b940
Clarify and fix grammar/spelling mistakes in the installation guide for the Pi (#667) 2023-08-01 20:49:32 +02:00
Yuki Langley c7f17eb77e
Update diataxis links (#669) 2023-08-01 11:40:40 +02:00
Michael Smith f4d6f239a7
Update faq.md (#666) 2023-07-28 23:27:17 +02:00
Zach Mitchell, PhD 0d6c103fd7
Merge pull request #663 from NixOS/chained-script-interpreter
Explain chained script interpreter
2023-07-27 09:02:17 -06:00
Zach Mitchell, PhD 808ac3b3ce Update source/tutorials/reproducible-scripts.md
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-07-27 08:59:32 -06:00
Zach Mitchell, PhD 64348ea907 Update source/tutorials/reproducible-scripts.md
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-07-27 08:59:32 -06:00
Alper Cugun 56ba5bda03 Explain what this construct is
> The chained script interpreter to be invoked

Chained is mentioned here but then also forgotten about: https://nixos.org/manual/nix/unstable/command-ref/nix-shell.html

Mostly it's unclear here why there are multiple weird hashbang lines there that are the same.

Also it's not great that here an entirely new construct is introduced that probably nobody will have ever seen before and to understand what it does you have to go to several different off-site documentation pages.

Can this be rewritten to be more standalone?
2023-07-27 08:59:32 -06:00
Zach Mitchell, PhD 2781cb48a7
Merge pull request #664 from zmitchell/fix-diataxis-link
Fix broken Diataxis links
2023-07-27 08:57:59 -06:00
Zach Mitchell ba3104a14b Fix broken Diataxis links 2023-07-27 08:45:51 -06:00
Zach Mitchell, PhD 6e69e3049c
Merge pull request #547 from fricklerhandwerk/faq-flakes-enable
FAQ: should I enable flakes
2023-07-27 08:11:45 -06:00
Zach Mitchell, PhD ac9d66cc0d
Merge pull request #653 from fricklerhandwerk/contributing
expand contribution guidelines
2023-07-27 08:09:41 -06:00
Silvan Mosberger cded3328eb
Merge pull request #630 from henrik-ch/docs_pill18
Documentation survey Pill 18 nix store paths
2023-07-27 16:07:37 +02:00
Silvan Mosberger 395ae61d71
Merge pull request #659 from henrik-ch/fix-non-NixOS
small touch-up - removing non-NixOS referral
2023-07-27 16:06:51 +02:00
Tanner Wilcox 678d749e04
Update ad-hoc-shell-environments.md (#661)
Typo fix
2023-07-24 08:35:46 +01:00
Henrik 27ec931631
Update installing-nixos-on-a-raspberry-pi.md
removing non-NixOS reference
2023-07-21 19:30:39 +01:00
Jaime Terreu fd3494bee8
Fix small typo (#658)
Co-authored-by: Jaime Terreu <jaime@Jaimes-MacBook-Pro.local>
2023-07-21 16:25:00 +02:00
Valentin Gagarin 03e49423d1
fix typos, remove superfluous ellipses 2023-07-21 11:36:25 +02:00
Valentin Gagarin def3fbd071 add pointers for making donations 2023-07-21 09:32:41 +02:00
Valentin Gagarin 875cb4ae06 expand contribution guidelines
in particular, give more concrete tips on filing issues.
this is based on experience with helping to maintain Nix and trying to make
sense of what's going on in Nixpkgs.
2023-07-21 09:32:41 +02:00