022cc42395
* ops/modules: remove deprecated headscale DNS setting * users/aspen: use stable julia again (upstream ticket is resolved, and 16 has been removed because it's long deprecated) * users/wpcarro: utillinux -> util-linux * 3p/overlays: temporarily restore utillinux until upstream breakage is fixed * users/tazjin: noto-cjk -> noto-cjk-sans * tvix: regenerate Go protobufs Change-Id: I9dbec812306cd4e66030d14bbea3805e8224e0d5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12679 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: aspen <root@gws.fyi> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
24 lines
474 B
Nix
24 lines
474 B
Nix
{ pkgs, ... }:
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "ideal-website";
|
|
src = builtins.path { path = ./.; name = "contentful"; };
|
|
buildInputs = with pkgs; [
|
|
nodejs
|
|
# Exposes lscpu for parcel.js
|
|
util-linux
|
|
];
|
|
# parcel.js needs number of CPUs
|
|
PARCEL_WORKERS = "1";
|
|
buildPhase = ''
|
|
export HOME="."
|
|
npx parcel build index.html
|
|
'';
|
|
|
|
installPhase = ''
|
|
mv dist $out
|
|
'';
|
|
|
|
# TODO(wpcarro): This doesn't build at all.
|
|
meta.ci.skip = true;
|
|
}
|