nix-gscheits/pkgs/fablab/laser-upload/default.nix
Jakob Lechner 12829bdedc
raven/laserkutter: use nginx as reverse proxy
We need to set the `Access-Control-Allow-Origin` header in order to
upload gcode with XHR
2022-01-13 22:34:39 +00:00

18 lines
253 B
Nix

{ lib, stdenvNoCC }:
stdenvNoCC.mkDerivation {
name = "laser-upload";
src = ./src;
dontBuild = true;
installPhase = ''
mkdir $out
cp * $out
'';
meta = with lib; {
license = licenses.mit;
platforms = platforms.all;
};
}