Add nix to the runtime path.

This commit is contained in:
r-vdp 2023-05-16 11:47:52 +02:00
parent 8602403333
commit 39995e4102
No known key found for this signature in database

View file

@ -84,6 +84,7 @@
dbus
];
nativeBuildInputs = with pkgs; [
makeWrapper
pkg-config
];
};
@ -96,6 +97,9 @@
system-manager = craneLib.buildPackage (commonArgs // {
pname = "system-manager";
inherit cargoArtifacts;
postInstall = ''
wrapProgram $out/bin/system-manager --prefix PATH : ${nixpkgs.lib.makeBinPath [ pkgs.nix ]}
'';
});
system-manager-clippy = craneLib.cargoClippy (commonArgs // {