We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e219e6f commit c62efedCopy full SHA for c62efed
1 file changed
flake.nix
@@ -26,14 +26,16 @@
26
src = craneLib.cleanCargoSource ./.;
27
strictDeps = true;
28
29
- buildInputs = with pkgs; [ libxkbcommon ];
+ buildInputs = with pkgs; [ makeWrapper libxkbcommon ];
30
};
31
32
my-crate = craneLib.buildPackage (
33
commonArgs
34
// {
35
cargoArtifacts = craneLib.buildDepsOnly commonArgs;
36
- LD_LIBRARY_PATH = libPath;
+ postInstall = ''
37
+ wrapProgram "$out/bin/waystart" --prefix LD_LIBRARY_PATH : "${libPath}"
38
+ '';
39
}
40
);
41
in
0 commit comments