This commit is contained in:
Nox Sluijtman 2025-06-15 19:12:07 +02:00
parent 9c91f660d8
commit 5b434e3621
Signed by: Egg
SSH key fingerprint: SHA256:2sG9X3C7Xvq2svGumz1/k7cm8l4G9+qAtAeugqB4J9M
3 changed files with 10 additions and 15 deletions

View file

@ -19,7 +19,15 @@
naersk-lib = pkgs.callPackage naersk { };
in
{
defaultPackage = naersk-lib.buildPackage ./.;
defaultPackage = naersk-lib.buildPackage rec {
src = ./.;
nativeBuildInputs = with pkgs; [
libnotify
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath nativeBuildInputs;
RUST_SRC_PATH = pkgs.rustPlatform.rustLibSrc;
};
devShell =
with pkgs;
mkShell {
@ -32,6 +40,7 @@
libnotify
];
RUST_SRC_PATH = rustPlatform.rustLibSrc;
RUST_BACKTRACE = 1;
};
}
);