Add nix to the runtime path.
This commit is contained in:
parent
8602403333
commit
39995e4102
1 changed files with 4 additions and 0 deletions
|
|
@ -84,6 +84,7 @@
|
||||||
dbus
|
dbus
|
||||||
];
|
];
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
|
makeWrapper
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -96,6 +97,9 @@
|
||||||
system-manager = craneLib.buildPackage (commonArgs // {
|
system-manager = craneLib.buildPackage (commonArgs // {
|
||||||
pname = "system-manager";
|
pname = "system-manager";
|
||||||
inherit cargoArtifacts;
|
inherit cargoArtifacts;
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/system-manager --prefix PATH : ${nixpkgs.lib.makeBinPath [ pkgs.nix ]}
|
||||||
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
system-manager-clippy = craneLib.cargoClippy (commonArgs // {
|
system-manager-clippy = craneLib.cargoClippy (commonArgs // {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue