diff options
author | Will Dietz <w@wdtz.org> | 2019-01-28 21:41:23 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-01-28 21:41:23 -0600 |
commit | d5c660c9ddd079567bc1186078c54fb155ff7d0d (patch) | |
tree | 827f78f126315a702ff7a1eb2e24378226017cf8 /pkgs/os-specific/linux/iwd | |
parent | 8238e19c2fa6988b8e77bae8764976da1a03e1af (diff) |
iwd: don't use '/usr' prefix, prefer placeholder over quote-and-pray
Diffstat (limited to 'pkgs/os-specific/linux/iwd')
-rw-r--r-- | pkgs/os-specific/linux/iwd/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/iwd/default.nix b/pkgs/os-specific/linux/iwd/default.nix index 39902023b623c..fc7eda0af88c2 100644 --- a/pkgs/os-specific/linux/iwd/default.nix +++ b/pkgs/os-specific/linux/iwd/default.nix @@ -33,9 +33,9 @@ in stdenv.mkDerivation rec { ]; configureFlags = [ - "--with-dbus-datadir=$(out)/etc/" - "--with-dbus-busdir=$(out)/usr/share/dbus-1/system-services/" - "--with-systemd-unitdir=$(out)/lib/systemd/system/" + "--with-dbus-datadir=${placeholder "out"}/etc/" + "--with-dbus-busdir=${placeholder "out"}/share/dbus-1/system-services/" + "--with-systemd-unitdir=${placeholder "out"}/lib/systemd/system/" "--localstatedir=/var/" "--enable-wired" ]; @@ -57,9 +57,9 @@ in stdenv.mkDerivation rec { ''; postFixup = '' - substituteInPlace $out/usr/share/dbus-1/system-services/net.connman.ead.service \ + substituteInPlace $out/share/dbus-1/system-services/net.connman.ead.service \ --replace /bin/false ${coreutils}/bin/false - substituteInPlace $out/usr/share/dbus-1/system-services/net.connman.iwd.service \ + substituteInPlace $out/share/dbus-1/system-services/net.connman.iwd.service \ --replace /bin/false ${coreutils}/bin/false ''; |