- Video conference
- GitHub project board
- Team details
- Past meeting notes
- Attendees: @fricklerhandwerk @infinisil @henrik-ch @mightyiam @roberh @thezaedus @zmitchell
- Notes by: @infinisil
Agenda
- updates
- reviews
Notes
Nixpkgs manual: Don't render Contributing section · Issue #244056 · NixOS/nixpkgs · GitHub
- See issue for arguments
-
@mightyiam: Could only render contributing guidelines in unstable manual
- @infinisil: Hard to implement, doesn’t feel proper
- @zmitchell: Agrees to remove it from the manual, avoid duplication
- Nobody against, @infinisil will implement that
Nix doc tests
-
@mightyiam would like for Nix code in documentation to be evaluated
-
@fricklerhandwerk: Plan to work on this in the next ocean sprint. GitHub - OceanSprint/tesh: TEstable SHell sessions in Markdown is similar
-
@mightyiam: Looks similar: https://github.com/NixOS/nix.dev/blob/678d749e044b72b1ec1e5d9c29c89f583d141cc3/source/_ext/extractable_code_block.py
-
@mightyiam: Will work on getting this to work for nix.dev
-
@mightyiam: How to evaluate Nix, lazy evaluation?
-
@infinisil:
nix-instantiate --eval --strict --expr '1 + 1'
should be used for evaluation - @roberth: Could parse nix-repl lines and pass it into the Nix evaluator
-
@infinisil:
-
@fricklerhandwerk: Consumer should not see parts that aren’t relevant for that
Eval example
nix-repl> singleton "test"
[ "test" ]
expr='singleton "test"'
expectedResult='[ "test" ]'
output=$(nix-instantiate --eval --strict --expr ...)
if [[ expectedResult != output ]];
exit ...
fi
NixOS example
{
systemPackages = ...;
}
nix-instantiate <nixpkgs/nixos> --arg configuration <file>
nixpkgs/NixOS manuals: devmode feature by mightyiam · Pull Request #243062 · NixOS/nixpkgs · GitHub needs reviews
- Add feedback should be addressed
- @roberth can review it asynchronously
Migrate "Nix-representable formats" to Nixpkgs manual · Issue #251040 · NixOS/nixpkgs · GitHub
- Source in https://github.com/NixOS/nixpkgs/blob/48273d596109a034cf154e450dee69705ca2d620/nixos/doc/manual/development/settings-options.section.md
- Can move it, but need to update it to not be NixOS specific (the example)
- The example should also be smaller
- Old location needs to be linked to the new
-
@infinisil: A bit weird that the module system docs generally (including
freeformType
) is also in the NixOS manual, should be moved
add a tutorial on packaging existing software by proofconstruction · Pull Request #650 · NixOS/nix.dev · GitHub
- Problem: Can’t find xorg.libX11 when searching for Xlib on search.nixos.org
- @roberth: search.nixos.org uses nix-index, could also index headers there
- Related: pkgs.defaultPkgConfigPackages, could be a separate guide, see Index and show `pkgConfigModules` · Issue #617 · NixOS/nixos-search · GitHub too
- Would be good to have all files indexed in search.nixos.org
- Maybe only headers, shared libraries and pkg-config files though
- Related: Add the possibility to search for files in the packages, like a command name · Issue #104 · NixOS/nixos-search · GitHub
- Let’s open a new issue for headers and shared libraries: Index headers and shared library files · Issue #673 · NixOS/nixos-search · GitHub