videocutting/shell.nix

29 lines
438 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> { } }:
2023-02-16 16:54:39 +01:00
let
projectInstall = pkgs.writeShellApplication {
name = "project-install";
runtimeInputs = [
pkgs.php82Packages.composer
];
text = ''
composer install
'';
};
in pkgs.mkShell {
name = "Videocutting";
buildInputs = [
pkgs.ffmpeg
pkgs.php82
pkgs.php82Packages.composer
2023-02-16 16:54:39 +01:00
projectInstall
];
shellHook = ''
export PATH="$(pwd)/:$PATH"
'';
}