Skip to content

Commit

Permalink
Merge pull request #301 from tmuehlbacher/fix-nix-install
Browse files Browse the repository at this point in the history
fix(nix): install paths from pkg-config properly
  • Loading branch information
koverstreet authored Jun 17, 2024
2 parents d915c62 + b46d3a2 commit a87faa2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
];

Expand Down

0 comments on commit a87faa2

Please sign in to comment.