Flakes: Difference between revisions
imported>Tobias.bora No edit summary |
imported>Tobias.bora No edit summary |
||
Line 490: | Line 490: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
You can then access to the inputs, outputs… For instance if you would like to check the default version of the kernel present in nixpgs: | |||
<syntaxHighlight lang=text> | |||
nix-repl> inputs.nixpkgs.legacyPackages.x86_64-linux.linuxPackages.kernel.version | |||
"5.15.74" | |||
</syntaxHighlight> | |||
However, this won't be instant upon evaluation if any file changes have been done since your last configuration rebuild. Instead, if one puts: | However, this won't be instant upon evaluation if any file changes have been done since your last configuration rebuild. Instead, if one puts: |