This commit is contained in:
Daniel Langbein 2024-08-28 14:36:45 +02:00
parent aa31509ad1
commit f07f2b736e
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -695,10 +695,6 @@ colmena eval -E '{ nodes, lib, pkgs, ... }: pkgs.linux'
#=> "/nix/store/6l9b3dly45iv2rp17hk5c3wvawaq0viy-linux-6.6.46" #=> "/nix/store/6l9b3dly45iv2rp17hk5c3wvawaq0viy-linux-6.6.46"
``` ```
```shell
colmena eval -E '{ nodes, lib, pkgs, ... }: { imports = [ ./modules/nur-and-unstable.nix ]; pkgs.linux }'
```
## Evaluate expressions ## Evaluate expressions
* https://discourse.nixos.org/t/eval-nix-expression-from-the-command-line/8993/6 * https://discourse.nixos.org/t/eval-nix-expression-from-the-command-line/8993/6