Attila Gulyas
a06dc94072
Add cross-reference ( #1031 )
...
Added the reference to the "_Package parameters and overrides with `callPackage`_" chapter because I actually started looking up info on `callPackage` as I missed it being mentioned in the sidebar.
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-08-13 08:12:16 +00:00
Attila Gulyas
b0fb4ac4c6
Fix explanation of code snippet ( #1028 )
...
I presume that at one point there was only one package that was referred from `pkgs` and then another one was added later.
2024-08-13 08:07:59 +00:00
Olga Pilipenco
1c050ebb4d
Update Nixpkgs versions in "declarative shells" tutorial ( #1023 )
...
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-07-31 19:48:43 +00:00
YSawc
d554da990f
working with local files: Add output example ( #1025 )
2024-07-25 12:59:11 +00:00
Olga Pilipenco
fc292e2cd6
Update Nixpkgs version in packaging tutorial ( #1024 )
2024-07-19 00:33:00 +00:00
Will Bush
d0c9ed4e99
fix mkShellNoCC to use packages
instead of buildInputs
...
According to:
cdd059f7e5/source/tutorials/first-steps/declarative-shell.md
?plain=1#L84
>The `packages` attribute argument to `mkShellNoCC` is simply an alias for `nativeBuildInputs`.
I believe https://github.com/NixOS/nix.dev/issues/131 can be closed now. I think
this is one of the last remaining instances where mkShell* uses `buildInputs`.
2024-07-14 23:14:49 +02:00
Valentin Gagarin
4103098b6f
fix search link ( #1018 )
...
remove the specific channel, as search.nixos.org will deprecate old channels
2024-07-10 15:11:49 +02:00
jd1t
4c9bb5bde4
JSON convert in modules error ( #1004 )
...
* JSON convert in modules error
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Dan Baker <daniel.n.baker@gmail.com>
2024-07-10 14:00:07 +02:00
Valentin Gagarin
6cfee511f4
fix missing changes from niv to npins ( #1017 )
...
Co-authored-by: Runningtarrens <65970993+Runningtarrens@users.noreply.github.com>
2024-07-10 11:59:12 +00:00
Anderson Torres
25593bf292
[chore] fix broken links
...
Because CI is not happy.
2024-06-29 03:50:16 +02:00
jd1t
8f0c7f986a
Update working-with-local-files.md ( #1001 )
...
Use correct sources location
2024-06-17 21:51:11 +00:00
Valentin Gagarin
fda3ce2056
fix confused linkcheck
...
thanks to vanity TLDs, eval.sh now gets parsed as a URL...
2024-06-11 11:39:46 +02:00
Valentin Gagarin
3baba1bb4e
redirect the entire mutable Nix manual URL to Hydra ( #994 )
...
also pin some unneeded links to the development version of the Nix
manual to a release
this doesn't address the full issue, because Hydra doesn't do pretty
URLs, and Netlify proxying (the 200 redirect) doesn't seem to actually
work.
2024-06-04 21:39:16 +02:00
Valentin Gagarin
bfa0c7de86
migrate from niv to npins ( #991 )
2024-06-03 09:50:23 +02:00
Dan Baker
c682c68bde
Add first lesson for the new module tutorials. ( #982 )
...
* Add first lesson for the new module tutorials, and cut redundant parts from the deep dive
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-05-23 08:39:28 +00:00
Pete Dietl
b14ab7bdb7
module system deep dive: minor improvements
...
Add more error checking to the `map.sh` and `geocode.sh` script
The default zoom of 2 results in the `center` option not showing anything
different. So, we change the default zoom to 10.
We also clear up the fact that using an option type of `nullOr <blah>` does not
set a default value of `null` for you.
2024-05-22 01:00:54 +02:00
Pete Dietl
7a26361be1
add .sh suffix to shell script files
...
Rename `map` to `map.sh` and `geocode` to `geocode.sh` in hopes that
when downloading, Google Chrome doesn't automatically add a `.txt` extension.
2024-05-22 01:00:54 +02:00
Norman Rauschen
9243f9dc2f
Fix typo
...
`paremeters` -> `parameters`
2024-05-14 22:42:16 +02:00
Norman Rauschen
905cd62a16
Fix typo
...
`matche` -> `match`
2024-05-14 22:42:16 +02:00
Norman Rauschen
6650fdcdb6
Fix typo
...
`programms` -> `programs`
2024-05-14 22:42:16 +02:00
Norman Rauschen
e55781eaea
Fix typo
...
`similiar` -> `similar`
2024-05-14 22:42:16 +02:00
Norman Rauschen
a01c8290c1
Fix typo
...
`artifical` -> `artificial`
2024-05-14 22:42:16 +02:00
Norman Rauschen
6dfb252ea5
Fix typo
...
`distingushing` -> `distinguishing`
2024-05-14 22:42:16 +02:00
Domagoj Mišković
604ac50dd4
lib
unused binding in hello.nix (#974 )
...
This removes the lib and lib.fakeSha256, along with any references to them in hello.nix and icat.nix from the tutorial. The tutorial is updated using https://nixos.org/manual/nixpkgs/unstable/#chap-pkgs-fetchers-caveats , providing an empty string to get the missing hash.
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-05-09 22:31:02 +02:00
Manuel Thalmann
4b72c64e1b
Fix Typos ( #973 )
2024-04-29 14:44:03 +00:00
Domagoj Mišković
ec43f3a524
fix syntax error ( #972 )
...
Update packaging-existing-software.md - fix syntax error in skeleton derivation example
2024-04-24 23:01:54 +00:00
olaf
cde9482598
nixos-configuration-on-vm.md: graphical vm ( #940 )
...
* draft graphical vm
* Review and improve the NixOS configuration in VM tutorial
Done together in the docs team meeting
* fix wording and formatting
---------
Co-authored-by: Silvan Mosberger <silvan.mosberger@tweag.io>
Co-authored-by: wamirez <wamirez@protonmail.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-04-22 19:28:58 +02:00
olafklingt
426bed7f51
use sphinx dropdown in nixos tutorials
2024-04-21 23:29:37 +02:00
jopejoe1
8332e73807
replace unoffical wiki links with offical ones
2024-04-17 19:56:48 +02:00
Silvan Mosberger
ac3ca9189c
Merge pull request #960 from ben-christian/fix-example-module-system
...
refactor: rename test.nix to default.nix for consistency
2024-04-15 17:03:04 +02:00
Daniel Ramirez
adcc4d2409
Add indefinite article
2024-04-14 16:59:13 -04:00
Michael Smith
368f80b7af
Fix typo
2024-04-14 22:35:44 +02:00
ben-christian
5dc7037af1
refactor: rename test.nix to default.nix for consistency
2024-04-12 17:25:41 +10:00
olafklingt
260cdc4717
update cross compiling tutorial to 23.11
2024-04-10 00:30:41 +02:00
Andy Lee
c8ea42cc05
Improve Documentation: Exclude Prompt Characters from Copied Shell Commands ( #955 )
...
* docs: improve shell command copy experience
Prevent the inclusion of the dollar sign and preceding characters when copying shell commands from the documentation
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-04-09 09:45:18 +00:00
Benoit de Chezelles
9c9f891c38
Update packaging-existing-software.md ( #938 )
...
* Update packaging-existing-software.md
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-04-09 08:25:43 +00:00
Oliver Kopp
bddda57b7d
Link to guide from the wiki ( #944 )
...
* Link to guide from the wiki
2024-04-08 20:45:47 +02:00
Silvan Mosberger
f32c85e096
Merge pull request #948 from marksisson/patches/fix-typo-in-module-system-md
2024-03-28 06:31:23 +01:00
Mark Sisson
05d8461965
fix: correct typo in module-system tutorial
2024-03-27 22:14:17 -05:00
Cyandev
ea2a50580d
fix code issues in callpackage.md
2024-03-27 11:21:51 +08:00
Cyandev
a47535c0d7
fix code block header in callpackage.md
2024-03-27 10:49:20 +08:00
Nate Meyer
2a7c8dfb8a
fix typo in packaging-existing-software.md
2024-03-26 06:38:02 -07:00
Valentin Gagarin
ca88130dce
rewrite and update
...
Co-authored-by: Norbert Melzer <timmelzer@gmail.com>
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-03-19 04:25:24 +01:00
Valentin Gagarin
8c7824e79d
import callPackage
tutorial from Summer of Nix 2022
...
Co-authored-by: Norbert Melzer <timmelzer@gmail.com>
Co-authored-by: Matthias Meschede <MMesch@users.noreply.github.com>
2024-03-19 04:25:24 +01:00
Sheikh
aa0eaf6660
fix: minor grammar correction
2024-03-16 21:01:40 -03:00
olaf
cf814e601d
Update integration-testing-using-virtual-machines.md
...
fix nixpkgs version to match previous update
2024-03-10 22:03:13 +01:00
Valentin Gagarin
81317b403e
add more useful next steps to language tutorial ( #936 )
2024-03-09 21:01:04 +00:00
Robert Hensing
df384e0c86
integration-testing-using-virtual-machines.md: nixosTest -> testers.runNixOSTest
2024-03-07 00:27:40 +01:00
Kian Mehrabani
a772d7e9bc
fix another typo
2024-02-28 02:03:56 -05:00
Kian Mehrabani
a3e1a53f93
fix typo
2024-02-28 02:01:40 -05:00