summary refs log tree commit diff
path: root/pkgs/tools/filesystems/nixpart/0.4/lvm2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/filesystems/nixpart/0.4/lvm2.nix')
-rw-r--r--pkgs/tools/filesystems/nixpart/0.4/lvm2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/nixpart/0.4/lvm2.nix b/pkgs/tools/filesystems/nixpart/0.4/lvm2.nix
index 7c92dc95268..804b052b61a 100644
--- a/pkgs/tools/filesystems/nixpart/0.4/lvm2.nix
+++ b/pkgs/tools/filesystems/nixpart/0.4/lvm2.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation {
   #patches = [ ./purity.patch ];
 
   # To prevent make install from failing.
-  preInstall = "installFlags=\"OWNER= GROUP= confdir=$out/etc\"";
+  installFlags = [ "OWNER=" "GROUP=" "confdir=${placeholder "out"}/etc" ];
 
   # Install systemd stuff.
   #installTargets = "install install_systemd_generators install_systemd_units install_tmpfiles_configuration";