website_2000/flake.nix

24 lines
497 B
Nix
Raw Normal View History

2024-06-17 01:06:15 +00:00
{
description = "Skynet main site, 2000 - ";
inputs = {
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages."${system}";
in rec {
# `nix build`
defaultPackage = pkgs.stdenv.mkDerivation {
name = "skynet-website-2000";
src = self;
installPhase = ''
mkdir -p $out
cp -R src/* $out
'';
};
}
);
}