From dff8a2f9090c2f27d55514f443d76afc6f91227f Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 2 Sep 2024 11:47:37 +0200 Subject: [PATCH] docs: another nix-eval example --- NixOS.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/NixOS.md b/NixOS.md index 188c156..d6f53e7 100644 --- a/NixOS.md +++ b/NixOS.md @@ -692,7 +692,14 @@ colmena eval -E '{ nodes, lib, pkgs, ... }: nodes.yodaTux.config.environment.sys ```shell colmena eval -E '{ nodes, lib, pkgs, ... }: pkgs.linux' -#=> "/nix/store/6l9b3dly45iv2rp17hk5c3wvawaq0viy-linux-6.6.46" +#=> "/nix/store/bmyh7a4j9xim7xxc5x1qk1qvlb2y7186-linux-6.6.48" +``` + +```shell +colmena eval -E '{ nodes, lib, pkgs, ... }: pkgs.linuxPackages.kernel' +#=> "/nix/store/bmyh7a4j9xim7xxc5x1qk1qvlb2y7186-linux-6.6.48" +colmena eval -E '{ nodes, lib, pkgs, ... }: pkgs.linuxPackages_latest.kernel' +#=> "/nix/store/n0csng9aw5nhpll1m5rbvvxkkj2j63px-linux-6.10.7" ``` ## Evaluate expressions