Skip to content

Commit

Permalink
Add VLC player and audio test file
Browse files Browse the repository at this point in the history
Signed-off-by: Samuli Leivo <samuli.leivo@unikie.com>
  • Loading branch information
leivos-unikie authored and brianmcgillion committed May 11, 2024
1 parent 388ebb9 commit c938efd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Source: https://github.com/tiiuae/ghaf

Copyright: 2022-2024 Technology Innovation Institute (TII) <https://github.com/tiiuae/ghaf>
License: Apache-2.0
Files:
*.lock *.png *.svg *.patch *.db *.key *.pem *.cer *.p12
Files:
*.lock *.png *.svg *.patch *.db *.key *.pem *.cer *.p12 *.mp3
modules/hardware/x86_64-generic/kernel/configs/ghaf_host_hardened_baseline-x86
modules/jetpack/ghaf_host_hardened_baseline-jetson-orin
Binary file not shown.
7 changes: 6 additions & 1 deletion modules/common/development/debug-tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ in
};

config = mkIf cfg.enable {
environment.etc = {
audio_test.source = ./audio_test;
};
environment.systemPackages = with pkgs;
[
# For lspci:
Expand Down Expand Up @@ -44,6 +47,8 @@ in
# LuaJIT (which is sysbench dependency) not available on RISC-V
++ lib.optional (config.nixpkgs.hostPlatform.system != "riscv64-linux") sysbench
# runtimeShell (unixbench dependency) not available on RISC-V nor on cross-compiled Orin AGX/NX
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) unixbench;
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) unixbench
# Build VLC only on x86
++ lib.optional (config.nixpkgs.hostPlatform.system == "x86_64-linux") vlc;
};
}

0 comments on commit c938efd

Please sign in to comment.