mirror of
https://github.com/Noratrieb/clippyboard.git
synced 2026-01-14 09:55:04 +01:00
yeah
This commit is contained in:
parent
09f26d6d40
commit
ecc1a4e6da
1 changed files with 13 additions and 1 deletions
14
default.nix
14
default.nix
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs ? import <nixpkgs> { } }: pkgs.rustPlatform.buildRustPackage {
|
||||
{ pkgs ? import <nixpkgs> { } }: pkgs.rustPlatform.buildRustPackage rec {
|
||||
name = "clippyboard";
|
||||
|
||||
src = pkgs.lib.cleanSource ./.;
|
||||
|
|
@ -13,5 +13,17 @@
|
|||
xorg.libXrandr
|
||||
];
|
||||
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
pkg-config
|
||||
cmake
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/clippyboard \
|
||||
--suffix LD_LIBRARY_PATH : ${pkgs.lib.makeLibraryPath buildInputs}
|
||||
'';
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue