mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
8c6d942984
This commit creates a wrapper with the purpose of gracefully execute Arcan applications (appls, in Arcan jargon). In a typical FHS system, Arcan can be invoked by a commandline like `arcan <appl>`, or more generally `arcan <arcan options> <appl> <appl options>`. In order to emulate this behaviour, this wrapper was crafted. It `symlinkJoin`s Arcan and the appls, and sets the relevant environment variables accordingly.
15 lines
243 B
Nix
15 lines
243 B
Nix
{ callPackage, lib, pkgs }:
|
|
|
|
rec {
|
|
# Dependencies
|
|
|
|
espeak = pkgs.espeak-ng;
|
|
ffmpeg = pkgs.ffmpeg-full;
|
|
harfbuzz = pkgs.harfbuzzFull;
|
|
|
|
# Arcan
|
|
|
|
arcan = callPackage ./arcan.nix { };
|
|
arcan-wrapped = callPackage ./wrapper.nix { };
|
|
}
|