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
|
||||
];
|
||||
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 // {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue