You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
323 B

{
pkgs ? import <nixpkgs> {}
}:
pkgs.mkShell {
shellHook = ''
NEXTCLOUD=${pkgs.nextcloud22}
function deploy {
rm -rf /tmp/nextcloud
cp -r $NEXTCLOUD/ /tmp/nextcloud
cd /tmp/nextcloud
chmod +w -R .
php -S 0.0.0.0:9000
}
'';
nativeBuildInputs = [
pkgs.nextcloud22
pkgs.php80
];
}