Compare commits

...

10 commits

Author SHA1 Message Date
Qyriad 125f643198 hopefully finish nix-build docs thing 2024-05-22 18:25:52 -06:00
Qyriad 2a606e96c4 docstrings: NixRepl::getDerivationPath: exceptions directly thrown
getDerivationPath() directly throws nix::Error for invalid derivations

Change-Id: I81ead950060b789794fa683b61c6349fece1690d
2024-05-22 18:17:58 -06:00
Qyriad ec0f49ec43 docs: document the cursed file syntax for old cli
This documents the fact that nix-build, nix-env, nix-instantiate, and
nix-shell accept an extended syntax for their file arguments, including
some well-known (but not well documented) aspects, like being able to
specify `<nixpkgs>`, but also https:// tarball URLs, `flake:` prefixed
flakerefs, and the cursed `channel:` prefixed hardcoded URLs

Same thing for the new CLI incoming :)

Change-Id: Ib6d68594a16132805ba5d97526e16f7b3633117e
2024-05-22 18:17:58 -06:00
Qyriad 5dc33dba37 fix phony spell 2024-05-22 17:58:44 -06:00
Qyriad 12c0cc7b0e docs: linkify nix3-build mention in nix-build.md
Change-Id: I462a8cf0da42b5045ce84b48dc1841ecdccbb89e
2024-05-22 17:58:32 -06:00
Qyriad f567e571c1 docstrings: NixRepl::getDerivationPath: exceptions directly thrown
getDerivationPath() directly throws nix::Error for invalid derivations

Change-Id: I81ead950060b789794fa683b61c6349fece1690d
2024-05-22 17:58:32 -06:00
Qyriad c42f8ffa7f build: make internal-api-docs PHONY
Since we're skipping Meson's dependency tracking, for the
internal-api-docs custom target, we should just consider it a phony
target and build it on every request.

Change-Id: I3b0bcea30ee9a4830023ccc5bededf995e96cccc
2024-05-22 17:58:32 -06:00
Qyriad 895767bced docs: document the file syntax things like nix-build take
Change-Id: Ib6d68594a16132805ba5d97526e16f7b3633117e
2024-05-22 17:58:32 -06:00
Qyriad aa30db5f9f NixRepl::getDerivationPath() docstring 2024-05-22 17:18:42 -06:00
Qyriad ef3a6bb464 docstrings: NixRepl::getDerivationPath: exceptions directly thrown
getDerivationPath() directly throws nix::Error for invalid derivations

Change-Id: I81ead950060b789794fa683b61c6349fece1690d
2024-05-22 17:15:45 -06:00

2
series

@ -1 +1 @@
Subproject commit b07878bfe9f683b32b12e00c6106c7058548538c Subproject commit 2a606e96c4ef92fdb27a24a1578f6d511eee00cf