user-local config.nix path fixed in docs

This commit is contained in:
Dmitry Vyal
2017-05-27 13:38:15 +03:00
parent f06f4a0728
commit 0f86046db5
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
# idea: provide a build environments for your developement of preference
/*
#### examples of use: ####
# Add this to your ~/.nixpkgs/config.nix:
# Add this to your ~/.config/nixpkgs/config.nix:
{
packageOverrides = pkgs : with pkgs; {
sdlEnv = pkgs.myEnvFun {
@@ -22,7 +22,7 @@
##### Another example, more complicated but achieving more: #######
# Make an environment to build nix from source and create ctags (tagfiles can
# be extracted from TAG_FILES) from every source package. Here would be a
# full ~/.nixpkgs/config.nix
# full ~/.config/nixpkgs/config.nix
{
packageOverrides = pkgs : with pkgs; with sourceAndTags;
let complicatedMyEnv = { name, buildInputs ? [], cTags ? [], extraCmds ? ""}: