Compile sass on build

This commit is contained in:
Benjamin Bädorf 2022-11-27 15:17:32 +01:00
parent e9b0654a85
commit 3c8ef7c3d2
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -5,6 +5,8 @@ pkgs.stdenv.mkDerivation {
src = pkgs.lib.cleanSource ../.;
installPhase = ''
${pkgs.sassc}/bin/sassc "./common/resources/scss/index.scss" > "./common/resources/css/index.css"
mkdir $out
cp -r account $out/
cp -r login $out/