adtya.xyz/default.nix

18 lines
263 B
Nix
Raw Normal View History

2023-11-06 01:26:46 +05:30
{ stdenvNoCC, zs }:
stdenvNoCC.mkDerivation rec {
name = "adtya_xyz";
2023-11-26 20:29:23 +05:30
version = "2023-11-26";
2023-11-06 01:26:46 +05:30
src = ./.;
nativeBuildInputs = [ zs ];
buildPhase = ''
zs build
'';
installPhase = ''
mkdir -p $out/share
cp -r .pub $out/share/web
'';
}