Set up sass

This commit is contained in:
arne 2022-02-19 18:29:17 +01:00
commit fd5e0004ce
207 changed files with 1250 additions and 14 deletions

View file

@ -10,23 +10,26 @@
buildInputs = with pkgs; [
nodejs-16_x
nodePackages.pnpm
sassc
entr
];
in {
devShell.${system} = pkgs.mkShell {
inherit buildInputs;
};
defaultPackage.${system} = pkgs.stdenv.mkDerivation {
name = "arnes.space";
src = ./.;
inherit buildInputs;
buildPhase = ''
${pkgs.nodePackages.pnpm}/bin/pnpx @11ty/eleventy --input=content
'';
installPhase = ''
mkdir $out
cp -r _site/* $out
'';
};
# defaultPackage.${system} = pkgs.stdenv.mkDerivation {
# name = "arnes.space";
# src = ./.;
# inherit buildInputs;
# buildPhase = ''
# ${pkgs.nodePackages.pnpm}/bin/pnpm install
# ${pkgs.nodePackages.pnpm}/bin/pnpm build
# '';
# installPhase = ''
# mkdir $out
# cp -r _site/* $out
# '';
# };
};
}