Skip to content

Commit

Permalink
Merge pull request #34 from eclairevoyant/typo-fix
Browse files Browse the repository at this point in the history
Channels to flakes: fix typo in NIX_PATH
  • Loading branch information
viperML authored Aug 8, 2023
2 parents e8de717 + 3d42f75 commit b27e99d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/blog/channels-to-flakes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Some examples of commands that won’t use this nixpkgs rev of your flake, inclu
- `nix-shell -p <package>`
- `nix run nixpkgs#<package>`
- Any nix code that uses `import <nixpkgs> {}`
- `nix-env -iA <package>` (you don’t want nix-env anyway…)
- `nix-env -iA <package>` (you don’t want nix-env anyway…)

We can classify these in:

Expand Down Expand Up @@ -153,7 +153,7 @@ To pin `NIX_PATH`, now we can directly reference the `nixpkgs` flake from the re
# ...
modules = [
{
home.sessionVariables.NIX_PATH = "nixpkgs=nixpkgs=flake:nixpkgs$\{NIX_PATH:+:$NIX_PATH}";
home.sessionVariables.NIX_PATH = "nixpkgs=flake:nixpkgs$\{NIX_PATH:+:$NIX_PATH}";
}
];
};
Expand Down

0 comments on commit b27e99d

Please sign in to comment.