aboutsummaryrefslogtreecommitdiff
path: root/lib/customisation.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-02-01 16:03:42 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-02-01 16:07:55 +0100
commit9d6a55aefd771f047d2aa3085c9a3f8a2f452333 (patch)
tree5e249e50300763f8a3bf9c69745a5381f64f7011 /lib/customisation.nix
parent7dacca324d9e86fe7f7fad450ec833c746f21415 (diff)
~/.nixpkgs -> ~/.config/nixpkgs
The former is still respected as a fallback for config.nix for backwards compatibility (but not for overlays because they're a new feature).
Diffstat (limited to 'lib/customisation.nix')
-rw-r--r--lib/customisation.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/customisation.nix b/lib/customisation.nix
index 3e6e279824be..41fe07fbd0a7 100644
--- a/lib/customisation.nix
+++ b/lib/customisation.nix
@@ -15,10 +15,10 @@ rec {
the original derivation attributes.
`overrideDerivation' allows certain "ad-hoc" customisation
- scenarios (e.g. in ~/.nixpkgs/config.nix). For instance, if you
- want to "patch" the derivation returned by a package function in
- Nixpkgs to build another version than what the function itself
- provides, you can do something like this:
+ scenarios (e.g. in ~/.config/nixpkgs/config.nix). For instance,
+ if you want to "patch" the derivation returned by a package
+ function in Nixpkgs to build another version than what the
+ function itself provides, you can do something like this:
mySed = overrideDerivation pkgs.gnused (oldAttrs: {
name = "sed-4.2.2-pre";