mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-24 18:03:35 +00:00
feat(nix): add comprehensive Nix flake for linux-rust
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -39,6 +39,7 @@
|
|||||||
libpulseaudio
|
libpulseaudio
|
||||||
alsa-lib
|
alsa-lib
|
||||||
bluez
|
bluez
|
||||||
|
|
||||||
# https://github.com/max-privatevoid/iced/blob/master/DEPENDENCIES.md
|
# https://github.com/max-privatevoid/iced/blob/master/DEPENDENCIES.md
|
||||||
expat
|
expat
|
||||||
fontconfig
|
fontconfig
|
||||||
@@ -78,7 +79,7 @@
|
|||||||
inherit buildInputs nativeBuildInputs src;
|
inherit buildInputs nativeBuildInputs src;
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
RUST_BACKTRACE = "1";
|
# RUST_BACKTRACE = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
librepods = craneLib.buildPackage (
|
librepods = craneLib.buildPackage (
|
||||||
@@ -106,9 +107,9 @@
|
|||||||
);
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# checks = {
|
checks = {
|
||||||
# inherit librepods;
|
inherit librepods;
|
||||||
# };
|
};
|
||||||
|
|
||||||
packages.default = librepods;
|
packages.default = librepods;
|
||||||
apps.default = {
|
apps.default = {
|
||||||
@@ -128,7 +129,6 @@
|
|||||||
]
|
]
|
||||||
++ buildInputs;
|
++ buildInputs;
|
||||||
|
|
||||||
# LD_LIBRARY_PATH = builtins.foldl' (a: b: "${a}:${b}/lib") "${pkgs.vulkan-loader}/lib" buildInputs;
|
|
||||||
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user