2023-02-11 17:47:40 +01:00
|
|
|
{ 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 {
|
2023-02-11 17:47:40 +01:00
|
|
|
name = "Videocutting";
|
|
|
|
buildInputs = [
|
|
|
|
pkgs.ffmpeg
|
|
|
|
pkgs.php82
|
|
|
|
pkgs.php82Packages.composer
|
2023-02-16 16:54:39 +01:00
|
|
|
projectInstall
|
2023-02-11 17:47:40 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
export PATH="$(pwd)/:$PATH"
|
|
|
|
'';
|
|
|
|
}
|