about summary refs log tree commit diff
path: root/overrides
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-10-30 00:31:19 +0100
committeraszlig <aszlig@redmoonstudios.org>2014-10-30 00:31:19 +0100
commit919524cb4fc78b09dd598ee2d5b36a1c11265704 (patch)
tree41601ea3dc80dd6469d05af04f43009f7717e1c6 /overrides
parent023a10876dfc5f53b9989de47d1f8dbdd7641f36 (diff)
zsh: Prevent building the newuser module.
BE. GONE. NOW! kthxbai!

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'overrides')
-rw-r--r--overrides/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/overrides/default.nix b/overrides/default.nix
index 66ae0f5f..d0f56808 100644
--- a/overrides/default.nix
+++ b/overrides/default.nix
@@ -113,8 +113,8 @@ let
     };
 
     zsh = o: {
-      postInstall = (o.postInstall or "") + ''
-        find "$out" -type f -name zsh-newuser-install -delete
+      postConfigure = (o.postConfigure or "") + ''
+        sed -i -e '/^name=zsh\/newuser/d' config.modules
       '';
     };
   };