Flakes: Difference between revisions

imported>Erikarvstedt
m Remove unneeded '#' in flake reference
imported>Erikarvstedt
m Wording. The mentioned file is not a flake due to its extra attrs.
Line 366: Line 366:
<syntaxHighlight>nix.nixPath = let path = toString ./.; in [ "repl=${path}/repl.nix" "nixpkgs=${inputs.nixpkgs}" ];</syntaxHighlight>
<syntaxHighlight>nix.nixPath = let path = toString ./.; in [ "repl=${path}/repl.nix" "nixpkgs=${inputs.nixpkgs}" ];</syntaxHighlight>


In their system `flake.nix` configuration file, and includes the following flake in their root directory flake as `repl.nix`:
In their system `flake.nix` configuration file, and includes the following file in their root directory flake as `repl.nix`:


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>