about summary refs log tree commit diff
path: root/pkgs/shells/zsh/default.nix
diff options
context:
space:
mode:
authorSean Haugh <sean@lfo.team>2019-01-08 04:11:37 -0600
committerTor Hedin Brønner <torhedinbronner@gmail.com>2019-01-08 11:11:37 +0100
commit68982ea9383c2ea601fcb77b90d31d64b3c1b2ee (patch)
treea55ba1184ede04e5850de80f2a265afd5c6cbad0 /pkgs/shells/zsh/default.nix
parent3a16c617e4c688bf28ed19caf7873e88f783f399 (diff)
downloadnixlib-68982ea9383c2ea601fcb77b90d31d64b3c1b2ee.tar
nixlib-68982ea9383c2ea601fcb77b90d31d64b3c1b2ee.tar.gz
nixlib-68982ea9383c2ea601fcb77b90d31d64b3c1b2ee.tar.bz2
nixlib-68982ea9383c2ea601fcb77b90d31d64b3c1b2ee.tar.lz
nixlib-68982ea9383c2ea601fcb77b90d31d64b3c1b2ee.tar.xz
nixlib-68982ea9383c2ea601fcb77b90d31d64b3c1b2ee.tar.zst
nixlib-68982ea9383c2ea601fcb77b90d31d64b3c1b2ee.zip
zsh: move --enable-zprofile into configureFlags (#52718)
Diffstat (limited to 'pkgs/shells/zsh/default.nix')
-rw-r--r--pkgs/shells/zsh/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix
index 472b78c4a6d0..bebf219d9b25 100644
--- a/pkgs/shells/zsh/default.nix
+++ b/pkgs/shells/zsh/default.nix
@@ -34,10 +34,8 @@ stdenv.mkDerivation {
     "--enable-multibyte"
     "--with-tcsetpgrp"
     "--enable-pcre"
+    "--enable-zprofile=${placeholder "out"}/etc/zprofile"
   ];
-  preConfigure = ''
-    configureFlagsArray+=(--enable-zprofile=$out/etc/zprofile)
-  '';
 
   # the zsh/zpty module is not available on hydra
   # so skip groups Y Z