diff --git a/flake.nix b/flake.nix index e4bc38eaf..f871d1871 100644 --- a/flake.nix +++ b/flake.nix @@ -76,9 +76,14 @@ inherit version; src = self; + env = { + PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system"; + PKG_CONFIG_UDEV_UDEVDIR = "${placeholder "out"}/lib/udev"; + }; + makeFlags = [ - "DESTDIR=${placeholder "out"}" - "PREFIX=" + "INITRAMFS_DIR=${placeholder "out"}/etc/initramfs-tools" + "PREFIX=${placeholder "out"}" "VERSION=${version}" ];