adtya.xyz/default.nix

18 lines
259 B
Nix
Raw Permalink Normal View History

2023-11-06 01:26:46 +05:30
{ stdenvNoCC, zs }:
2024-09-20 17:30:29 +05:30
stdenvNoCC.mkDerivation {
2023-11-06 01:26:46 +05:30
name = "adtya_xyz";
2024-09-20 17:30:29 +05:30
version = "2024-09-20";
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
'';
}