From 4fa3cef8c3f1e9115ee09a471b60b529dc5232a2 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Sat, 11 Feb 2023 17:47:40 +0100 Subject: [PATCH] Add shell.nix That way I can use nix-shell to execute the wrapper. nix will download all runtime dependencies and adjust path within nix shell. --- shell.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..d6d867a --- /dev/null +++ b/shell.nix @@ -0,0 +1,14 @@ +{ pkgs ? import { } }: + +pkgs.mkShell { + name = "Videocutting"; + buildInputs = [ + pkgs.ffmpeg + pkgs.php82 + pkgs.php82Packages.composer + ]; + + shellHook = '' + export PATH="$(pwd)/:$PATH" + ''; +}