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.
This commit is contained in:
Daniel Siepmann 2023-02-11 17:47:40 +01:00
parent 2d411d7160
commit 4fa3cef8c3
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

14
shell.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
name = "Videocutting";
buildInputs = [
pkgs.ffmpeg
pkgs.php82
pkgs.php82Packages.composer
];
shellHook = ''
export PATH="$(pwd)/:$PATH"
'';
}