website_2000/flake.nix
2024-06-17 02:06:15 +01:00

24 lines
No EOL
497 B
Nix

{
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
'';
};
}
);
}