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

1564 commits

Author SHA1 Message Date
Alexander Groleau ac3ab131fb don't introduce pkgs argument too soon 2023-08-10 10:42:45 -05:00
Alexander Groleau b315ef64fd stop using royal we 2023-08-10 10:42:45 -05:00
Alexander Groleau 388806960f make skeleton derivation smaller 2023-08-10 10:42:45 -05:00
Alexander Groleau 8762a1c6f9 convert section on "package" term to note 2023-08-10 10:42:45 -05:00
Alexander Groleau e4930ffe1a mkDerivation tutorial doesn't exist yet 2023-08-10 10:42:45 -05:00
Alexander Groleau 03d6e30d12 "package" as derivation result 2023-08-10 10:42:45 -05:00
alex 20ae449be7 improve clarity and precision 2023-08-10 10:42:45 -05:00
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 248a0bf6f8 Update with review comments 2023-08-10 07:42:49 -06:00
Zach Mitchell 35c1df9789 Update with review comments 2023-08-09 22:34:44 -06:00
Zach Mitchell a096fdce5c Add a summary of the Diataxis framework 2023-08-09 22:34:42 -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